Version: 5.1.4-ice35-b55
|
Row-level permissions definition available on every OMERO.blitz type. Represents a similar logic to the Unix filesystem.
Do not use!
Do not use! Throws omero::ClientError if mutation not allowed.
The basis for the other canX() methods. If the restriction at the given offset in the restriction array is true, then this method returns true (otherwise false) and the canX() methods return the opposite, i.e. isDisallow(ANNOTATERESTRICTION) == ! canAnnotate()
Returns true if the given argument is present in the extendedRestrictions set. This implies that some service-specific behavior is disallowed.
Whether the current user has permissions for annotating this object. The fact that the user has this object in hand already identifies that it's readable.
Whether the current user has the "edit" permissions for this object. This includes changing the values of the object. The fact that the user has this object in hand already identifies that it's readable.
Whether the current user has the "link" permissions for this object. This includes adding it to data graphs. The fact that the user has this object in hand already identifies that it's readable.
Whether the current user has the "delete" permissions for this object. The fact that the user has this object in hand already identifies that it's readable.
Throws omero::ClientError if mutation not allowed.
Throws omero::ClientError if mutation not allowed.
Throws omero::ClientError if mutation not allowed.
Throws omero::ClientError if mutation not allowed.
Throws omero::ClientError if mutation not allowed.
Throws omero::ClientError if mutation not allowed.
Throws omero::ClientError if mutation not allowed.
Throws omero::ClientError if mutation not allowed.
Throws omero::ClientError if mutation not allowed.
Restrictions placed on the current object for the current user. Indexes into this array are based on constants in the constants::permissions module. If a restriction index is not present, then it is safe to assume that there is no such restriction. If null, this should be assumed to have no restrictions.
Further restrictions which are specified by services at runtime. Individual service methods will specify which strings MAY NOT be present in this field for execution to be successful. For example, if an Image contains a "DOWNLOAD" restriction, then an attempt to call api::RawFileStore::read will fail with an SecurityViolation.
Internal representation. May change! To make working with this object more straight-forward accessors are provided for the perm1 instance though it is protected, though NO GUARANTEES are made on the representation.
|