# How to set up permissions on tabs, sections and properties

It is possible to set up permissions on tabs, sections and properties controlling who can see or edit them. This can be done on data models on catalogues, product structures and asset types.

## Navigate to the data model

Navigate to the data model you want to limit access to. In this tutorial we set up permissions on a dynamic tab on the product model of a product structure.

To do this we navigate to Settings > Data models > Product structures > Product model > Model setup.

<figure><img src="https://2141378775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUonpFWM7AJ0xVVXV1tr%2Fuploads%2FMc0Gilf7LmfgPh4ZQiZc%2Fimage.png?alt=media&#x26;token=f4aad99c-5073-4ffa-830f-3482f3b1f8c9" alt=""><figcaption><p>Product data model</p></figcaption></figure>

## Setting up permissions on tabs

Hover the mouse over the tab you wish to set up permissions on and click 'Edit tab'.

This will reveal the 'Edit tab'-page.

<figure><img src="https://2141378775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUonpFWM7AJ0xVVXV1tr%2Fuploads%2FsejMAlTmweC9gqbVSqgD%2Fimage.png?alt=media&#x26;token=e9607ea0-008e-468e-8f48-464287ae6c2b" alt=""><figcaption><p>'Edit tab'-page</p></figcaption></figure>

On the 'Edit tab'-page under Security settings we can choose to set up permissions for who can view or edit the tab.

In this tutorial we will require users to have a role with the permission 'Manage go green tab' to edit the 'Go green' tab, so we find it in the list of permissions. The list of permissions is made up of system permissions and custom permissions and is sorted alphabetically, with the syntax '\[Permission group] - \[Permission name]'.

{% hint style="info" %}
**Note** To learn about how to create custom permissions, read here: [How to create custom permissions](https://docs.struct.com/tutorials/guides/how-to-set-up-permissions/how-to-create-custom-permissions)
{% endhint %}

<figure><img src="https://2141378775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUonpFWM7AJ0xVVXV1tr%2Fuploads%2FZbiMKs3ieDliHUVucMts%2Fimage.png?alt=media&#x26;token=055a51c2-5861-4d5c-ac46-d2081a78b0e5" alt=""><figcaption><p>'Edit tab'-page</p></figcaption></figure>

Having set up the required permission click 'Submit' and 'Save' the changes to the product structure.

The tab will now only be editable by users with a role that has the 'Manage go green tab' permission.

## Setting up permissions on sections

Having set up an 'edit' permission on the tab, we want to limit the view access on a section. To do this we open the tab containing the section.

<figure><img src="https://2141378775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUonpFWM7AJ0xVVXV1tr%2Fuploads%2FTiDx8f7ppNGg5LLp6o2D%2Fimage.png?alt=media&#x26;token=66669dce-0b7a-459a-9794-7da96e75e3ed" alt=""><figcaption><p>Product data model</p></figcaption></figure>

Hover the mouse over the section you wish to set up permissions on and click 'Edit section'.

This will reveal the 'Edit section'-page.

<figure><img src="https://2141378775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUonpFWM7AJ0xVVXV1tr%2Fuploads%2FTYv5LVO4cSdVM1wKc2QV%2Fimage.png?alt=media&#x26;token=c15b4840-cd51-4a23-a827-923ebff84069" alt=""><figcaption><p>'Edit section'-page</p></figcaption></figure>

On the 'Edit section'-page under Security settings we can choose to set up permissions for who can view or edit the section.

We want to limit the view access to users with a role that has the permission 'View go green documents'.&#x20;

<figure><img src="https://2141378775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUonpFWM7AJ0xVVXV1tr%2Fuploads%2FnN1eCOo7P8uokbyELsM0%2Fimage.png?alt=media&#x26;token=b3e08f21-0e11-40ac-a520-0c909d46ac24" alt=""><figcaption><p>'Edit section'-page</p></figcaption></figure>

Having set up the required permission click 'Submit' and 'Save' the changes to the product structure.

The section will now only be viewable by users with a role that has the 'View go green documents' permission.

## Setting up permissions on properties

Having set up a 'view' permission on the section, we want to limit the view access further, this time on a property. To do this we open the section containing the property.

<figure><img src="https://2141378775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUonpFWM7AJ0xVVXV1tr%2Fuploads%2FqQMmpEO3vlsWCSHuyR2X%2Fimage.png?alt=media&#x26;token=2fb382ee-ea6b-4db9-b818-9571972aa5f4" alt=""><figcaption><p>Product data model</p></figcaption></figure>

Hover the mouse over the property you wish to set up permissions on and click 'Edit property'.

This will reveal the 'Edit property'-page.

<figure><img src="https://2141378775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUonpFWM7AJ0xVVXV1tr%2Fuploads%2F4h6ymsBqCa31tezBBNxJ%2Fimage.png?alt=media&#x26;token=12f16b35-7a04-4d6f-8f47-a38fd518b510" alt=""><figcaption><p>'Edit property'-page</p></figcaption></figure>

On the 'Edit property'-page under Security settings we can choose to set up permissions for who can view or edit the property.

Pick a permission and click 'Submit' and 'Save' the changes made to the product structure.
