> For the complete documentation index, see [llms.txt](https://docs.ngsurvey.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ngsurvey.com/ar/form-management/security/security-items/tokens/altslsl-alhrmy-llrmz-alathwnat.md).

# التسلسل الهرمي للرمز / الأذونات

يمكنك استخدام تسلسلات الرموز الأب/الابن (parent/child token hierarchies) لربط إجابات مستجيب واحد بعدة رموز. هذا يتيح لك توزيع مجموعات مختلفة من الرموز على مجموعات مستخدمين متعددة. بناءً على الرمز، يمكنك التحكم في أذونات النموذج، مما يسمح لبعض الرموز بالحصول على وصول للقراءة أو الكتابة بينما لا يملكها آخرون.

لإعداد تسلسل الرموز، كل ما عليك فعله هو تحديد الرمز الأب الذي ينتمي إليه الرمز.

<figure><img src="https://848173432-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8fLhS0bmfBRyq0HdUm%2Fuploads%2FLo33SecUpqZBEUGrM2vz%2Fimage.png?alt=media&amp;token=bdd1faa9-8afb-4c76-908c-47eb0e2342b1" alt=""><figcaption></figcaption></figure>

بمجرد إعداد الرمز الأب سيتم تجميعه على شبكة الرموز

<figure><img src="https://848173432-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8fLhS0bmfBRyq0HdUm%2Fuploads%2Ffrtf88b8C6B1WcwqnozN%2Fimage.png?alt=media&amp;token=7aaa5e41-ad83-46b1-90ee-3c4e92e46961" alt=""><figcaption></figcaption></figure>

في المثال أعلاه سيشارك الرمزان LCOMY0QSJZLO و FG7K7Y4JYMAE نفس بيانات المستجيب عند استخدامهما.&#x20;

## &#x20;🔑 أذونات الرموز

تتيح لك أذونات الرموز تكوين ما يمكن لكل مالك رمز القيام به ببيانات النموذج الخاصة بك. على سبيل المثال، يمكنك منح وصول للقراءة فقط لنموذجك لرمز معين بينما يمتلك رمز آخر وصولاً كاملاً للقراءة/الكتابة. يمكنك تعريف هذه الأذونات على مستوى الإجابة أو السؤال في النموذج.

{% hint style="warning" %}
تأكد من تفعيل الرمز كـ [مزود المفتاح](/ar/form-management/security/key-provider-concepts.md) حيث إنه مطلوب لتتمكن من ضبط أذونات الرموز.
{% endhint %}

لتعريف الأذونات قم بتعيين مستخدم واحد أو عدة [users](/ar/multi-user-management/users.md) أو [groups](/ar/multi-user-management/groups.md) إلى رمزك باستخدام أيقونة الوصول الأمني (Security Access).

![](https://848173432-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8fLhS0bmfBRyq0HdUm%2Fuploads%2FQ98uRNPBWZNUxuoIwoYG%2Fimage.png?alt=media\&token=98ae1f68-4eb1-44b2-866e-efa969fb236a)&#x20;

![](https://848173432-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8fLhS0bmfBRyq0HdUm%2Fuploads%2FaGDN3twP3uf4ZdvC0Yac%2Fimage.png?alt=media\&token=c6f2b372-6ab3-487d-b4a9-06dbfb416888) &#x20;

هذا هو المستخدم أو المجموعة التي ستتمكن من تعيين الأذونات لها على نماذجك. بمجرد تحديد أي مستخدم أو مجموعة تم تعيينها لرمزك يمكنك الانتقال إلى مصمم النموذج وفي السؤال أو الإجابة التي تختارها انقر على أيقونة الأذونات لتعيين الأذونات.&#x20;

![](https://848173432-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8fLhS0bmfBRyq0HdUm%2Fuploads%2F8NrC6g9fNJHZPGuCaQmM%2Fimage.png?alt=media\&token=69b88e78-76b2-4b20-a47d-4b90aa81df19) &#x20;

<figure><img src="https://848173432-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8fLhS0bmfBRyq0HdUm%2Fuploads%2F8KJyAqTRvga7ru1h3y8T%2Fimage.png?alt=media&amp;token=0a7fb636-b577-48d2-ad26-d731f4506091" alt=""><figcaption></figcaption></figure>

في المثال أعلاه ستكون بيانات السؤال للقراءة فقط لجميع الرموز المعينة لمجموعة "Patients".

{% hint style="warning" %}
إذا لم يتم تعيين أي من إذني القراءة أو الكتابة ولكن تمت إضافة المستخدم أو المجموعة إلى الوصول الأمني فسيتم إخفاء السؤال أو الإجابة لذلك المستخدم أو المجموعة
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ngsurvey.com/ar/form-management/security/security-items/tokens/altslsl-alhrmy-llrmz-alathwnat.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
