AssetAccessRule
trendminer_interface.objects.AssetAccessRule
Access rule giving a user certain permissions to a certain Asset or Attribute
Attributes:
| Name | Type | Description |
|---|---|---|
subject |
User or UserGroup
|
The subject to which the access rule relates |
permission |
str
|
The permission granted to the user - "read": allows reading context items of the asset/attribute, and thus also browsing. - "browse": allows browsing the asset/attribute, but not reading context items. - "none": explicit denial of permissions for the asset/attribute. |
identifier
property
identifier: str
Unique UUID of the access rule
delete
delete() -> None
Delete the access rule
Notes
When a rule is retrieved as an inherited access rule, it will be removed from the asset on which it is defined.