Access Controls for Rules
Instances are implemented as relationships and are secured using rules. Use rules to define specific access to users, roles, or credentials. The filters that define the access can be based on either the current user (including their assigned credentials) or the content itself (ownership attributes). The rules defined for types/relationships/interfaces can map these access controls to instances:
- Read
- Expand
- Create
- Modify
- Delete
The apps use these objects to define access rights:
- Policies govern access to references
- Rules govern access control to instances via relationships/interfaces
In general, the privileges associated to an instance are the same as those associated to the aggregating reference. A user is authorized to expand a part and read the properties of aggregated instances if that user is authorized to read that part, and to modify and/or delete the assembly and instance properties if that user is authorized to modify and/or delete the part.
The security of instances is coupled to the aggregating reference: the set of available accesses to an instance depend on the lifecycle state of the reference it is aggregated by. For example, a reference with state SHARED can only be read but not modified, so an instance aggregated by such a reference cannot be modified either.
Create access is not controlled by the state of the parent reference because at the time the access check is performed, the relationship object has no "from" object yet.