An abstract permission applied to a specific object type
For example, "View content of Document" or "Content Manager of Folder".
Concrete permissions allow separate security rules to be declared for
an abstract permission, based on the type of object being accessed.
The addRule method of a concrete permission is used to define
security rules for concrete permissions. (Note: abstract permissions
are actually concrete permissions themselves; they are roughly equivalent
to concrete permissons on the type object .)
Methods
|
|
addRule
defaultDenial
getAbstract
|
|
addRule
|
addRule ( rule, protocol=IPermissionChecker )
Declare rule an adapter factory from permission to protocol
|
|
defaultDenial
|
defaultDenial ()
Return a default security.Denial() to be used when a check fails
|
|
getAbstract
|
getAbstract ()
Return an IAbstractPermission for this permission
|
|