Index of the permissions module
-
m
authkit.permissions
...
- Permission objects
-
a
log
...
-
a
no_authkit_users_in_environ
...
-
C
And
...
- Checks all the permission objects listed as keyword arguments in turn.
Permissions are checked from left to right. The error raised by the And
permission is the error raised by the first permission check to fail.
-
C
HasAuthKitRole
...
- Designed to work with the user management API described in the AuthKit manual.
-
f
check
...
- Should return True if the user has the role or
False if the user doesn't exist or doesn't have the role.
-
f
__init__
...
-
C
UserIn
...
- Checks the REMOTE_USER is one of the users specified.
-
C
Exists
...
- Checks the specified key is present in the environ.
-
C
Permission
...
- The base class for all permissions objects.
-
C
RemoteUser
...
- Checks someone is signed in by checking for the presence of the
REMOTE_USER.
-
C
RequestPermission
...
- The base class for all request-based permissions
-
C
FromIP
...
- Checks that the remote host specified in the environment key is one
of the hosts specified in hosts.
-
C
HasAuthKitGroup
...
- Designed to work with the user management API described in the AuthKit manual.
-
f
check
...
- Should return True if the user has the group or
False if the user doesn't exist or doesn't have the group.
-
f
__init__
...
-
C
BetweenTimes
...
- Only grants access if the request is made on or after start and
before end. Times should be specified as datetime.time objects.
-
C
AuthKitConfigError
...
- Raised when there is a problem with the
configuration options chosen for the authenticate middleware
-
C
ValidAuthKitUser
...
- Checks that the signed in user is one of the users specified when setting up
the user management API.