stalker.models.mixins.ACLMixin¶
-
class
stalker.models.mixins.ACLMixin[source]¶ Bases:
objectA Mixin for adding ACLs to mixed in class.
Access control lists or ACLs are used to determine if the given resource has the permission to access the given data. It is based on Pyramids Authorization system but organized to fit in Stalker style.
The ACLMixin adds an attribute called
permissionsand a property called__acl__to be able to pass the permission data to Pyramid framework.-
__init__()¶ x.__init__(…) initializes x; see help(type(x)) for signature
Attributes
ACLMixin.permissions-