When an account is shared with other actors, in addition to roles, it is possible to assign attribute-based restrictive conditions to these actors in order to control their access rights on a deeper level.
For example, factory administrators (and associated API keys) can be restricted to a certain place so that they are only able to access data scoped to that place, or a brand inspector restricted to a given brand - which is a base field of a product - will only be able to access products of that brand.
Any admin Operator allowed to manage Operator Accesses is able to apply these restrictions to their subordinates. These restrictions can also be applied to Access Tokens.
Do I need to assign conditions to my actors?
Actors that have no restrictive conditions can access all data within a given resource.
For example, actors with permissions to read products and no conditions will have access to all products in their accounts, whereas actors with the same permissions but that have conditions on
productBrand:brand_onewill only be able to access products that have
brand_oneas brand base field.
See Managing Conditions to learn how to manage restrictive conditions.
Our platform currently supports the following restrictive conditions:
These can be added to an Operator Access payload and will then be reflected on each supported API interactions. In some cases the returned data will be filtered, whilst in others it will impact the change or creation of resources. Find more about how each condition behaves on their supported API pages under their respective Restrictive conditions sections.
Updated over 2 years ago