Set rights on your asset families

Summary

Once you have created your 1st asset family and created your user groups, you can begin to define for each of these user groups if they will be able to display/edit this asset family and its data.

Permissions depending on the asset family

You can define which user groups can view or edit an asset family, its properties, its attributes, and its assets. There are three levels of permissions per asset family: 

  • not allowed to view
  • allowed to view
  • allowed to edit

These permissions apply to the API (asset, asset attribute, asset attribute option, and asset family endpoints) and file import.

 

Allowed to edit

The edit permission means add, edit and delete rights.
If a user belonging to a user group has the right to edit an asset family, he will be able to:

  • Edit the properties of this asset family
  • Add, edit, and delete the attributes of this asset family
  • Add, edit, and delete assets of this asset family
  • Delete this asset family

If you want only some users to be able to edit the attributes of an asset family or delete an asset, you can also manage access on actions according to the user roles. Please refer to this article for more information.

 

Allowed to view

If a user belonging to a user group has the right to view an asset family, he will only be able to display the asset family data (properties, attributes, assets).
He won't be able to edit or delete it.

Not allowed to view

If a user belonging to a user group has not the right to view an asset family, he will not be able to display the asset family (properties, attributes, assets).

  • When assets are linked to a product, it is considered product data. As a consequence:
    • Users without view permission on the asset family cannot remove/add/reorder the assets from the asset collection attribute in the product edit form.
    • Users without view permission on the asset family cannot edit assets in the asset collection attribute in the product edit form.
    • Users without view permission on the asset family can display assets from the asset collection attribute in the product edit form.
  • Users without view permission and trying to get a specific asset via the API will receive a 404 error message. This way, we prevent users from guessing the existence of specific asset families.
  • Apps will still ignore asset family permissions and can always edit all assets.
 

 

Define permissions on an asset family

To define the permissions on an asset family:

  1. Go to Assets > Asset family settings > Asset families and open the chosen asset family.
  2. Click the Permissions tab.
  1. In Allowed to view family, choose who can view the family:
    • All user groups: every existing user group, and any user group created later, can view the family.
    • Specific user groups: in the field that appears, open the drop-down list and select the user groups that can view the family. To remove a user group, click the × on its tag.
  2. In Allowed to edit family, choose who can edit the family:
    • All user groups: every existing user group, and any user group created later, can edit the family.
    • Specific user groups: in the field that appears, open the drop-down list and select the user groups that can edit the family. To remove a user group, click the × on its tag.
  1. Click Save.

Edit permission includes view permission. When Allowed to edit family is set to All user groups, every user group can also view the family, so the Allowed to view family section can't be changed.

Choose All user groups if new user groups should get access automatically. With Specific user groups, you'll need to add each new user group yourself.

 

⚠️ At least one user group must be allowed to edit the asset family. If you choose Specific user groups in Allowed to edit family without selecting any user group, an error message is displayed when you save.

 

 

Rights depending on the locales

It is possible to define for each user group, on which locale the asset family data can be viewed or edited.

For assets, we have 2 levels of access on locales: the view right and the edit right.

It is not possible to hide a locale in an asset family.

 

 

The edit right

The edit right means add and edit rights.
If a user belonging to a user group has the right to EDIT an asset family, he will be able to:

  • Edit the asset family labels for a locale
  • Edit the asset family attributes labels for a locale
  • Edit the asset values for a locale if the attribute is localizable

The view right

If a user belonging to a user group has the right to VIEW on a locale, he will only be able to display the asset family data on this locale (properties, attributes, assets).
He won't be able to edit it.

Set rights on a locale

To define the rights to a locale, please refer to this article.