A conceptual permission, group, or role
For example, "View content", or "Content Manager" would be "abstract
permissions". The easiest way to create an abstract permission is to
subclass security.Permission , e.g.:
class ViewContent(security.Permission):
"Permission to view an object's content"
That's all that's needed, since abstract permissions are simply a marker
that denotes the idea of a particular permission.
Methods
|
|
of
|
|
of
|
of ( protectedObjectType )
Return a subclass IConcretePermission for protectedObjectType
|
|