Creates an Auth object
|environ| is a AuthEnviron describing the methods to perform authentications
Rules of permissions (self.perm):
self.perm is a dictionary (methodname => rule)
self.permobjects (Same but for an object level management)
Rules:
if self.perm[methodname] doesn't exists
The method needs a valid authentication, but not an special user
if self.perm[methodname] is True
The method is public and everyone is allowed to access it
if self.perm[methodname] is False
The method is private and cannot be accessed from SPyRO
if self.perm[methodname] is [ [list-of-valid-users], [list-of-valid-groups], [list-of-non-valid-users] ]
Restricts the execution of the method
- Overrides:
SPyRO.policies.AuthAllowCall.__init__
|