class access_right.AccessRight(api, api_entity)
BAM Access Rights.
Deletes the access right from the BAM database.
Returns: The object ID of the entity to which the access right is assigned. This value isn't mutable.
|name||An object type of the override.|
Returns: Get a single named override or None if not defined.
Returns: Get the type-specific overrides in the form of a dictionary containing one entry per override.
Returns: The object ID of the user or user group to whom the access right is assigned. This value isn't mutable.
Returns: A set value for the access right.
Downloads an updated Access Right from BAM.
Set an override value. The change isn't persisted until update() is called.
|name||objectType to be overridden.|
|value||New access value.|
|value||New value for the access right.|
Persist any changes to the access right object to the BAM database. Please note that updates will work only if there is an explicit Access Right that was added previously and neither entity_id nor recipient_id is changed.
Returns: persisted Access Right object.