pyramid.authorization
ACLHelper
ACLAuthorizationPolicy
Everyone
The special principal id named Everyone
. This principal id is granted to all requests. Its actual value is the string 'system.Everyone'
.
2.0
Moved from pyramid.security
into pyramid.authorization
.
Authenticated
The special principal id named Authenticated
. This principal id is granted to all requests which contain any other non-Everyone principal id (according to the authentication policy
). Its actual value is the string 'system.Authenticated'
.
2.0
Moved from pyramid.security
into pyramid.authorization
.
ALL_PERMISSIONS
An object that can be used as the permission
member of an ACE which matches all permissions unconditionally. For example, an ACE that uses ALL_PERMISSIONS
might be composed like so: ('Deny', 'system.Everyone', ALL_PERMISSIONS)
.
2.0
Moved from pyramid.security
into pyramid.authorization
.
DENY_ALL
A convenience shorthand ACE that defines ('Deny', 'system.Everyone', ALL_PERMISSIONS)
. This is often used as the last ACE in an ACL in systems that use an "inheriting" security policy, representing the concept "don't inherit any other ACEs".
2.0
Moved from pyramid.security
into pyramid.authorization
.
ACLDenied
__new__
2.0
Moved from pyramid.security
into pyramid.authorization
.
ACLAllowed
__new__
2.0
Moved from pyramid.security
into pyramid.authorization
.