Context in which security rules apply
Methods
|
|
__anybodyGetsAnybody
__denyByDefault
__nobodyGetsNobody
__nonAttributeAllowsAnybody
__undefinedPermission
hasPermission
permissionFor
|
|
__anybodyGetsAnybody
|
__anybodyGetsAnybody (
self,
user,
perm,
subject,
)
|
|
__denyByDefault
|
__denyByDefault (
self,
user,
perm,
subject,
)
|
|
__nobodyGetsNobody
|
__nobodyGetsNobody (
self,
user,
perm,
subject,
)
|
|
__nonAttributeAllowsAnybody
|
__nonAttributeAllowsAnybody (
self,
subject,
name,
)
|
|
__undefinedPermission
|
__undefinedPermission (
self,
subject,
name,
)
|
|
hasPermission
|
hasPermission (
self,
user,
perm,
subject,
)
Does user have permission perm for subject ?
|
|
permissionFor
|
permissionFor (
self,
subject,
name=None,
)
What permission is needed to access attrib name of subject ?
|
|