HasAuthKitRole
Designed to work with the user management API described in the AuthKit manual.
The HasAuthKitRole class is accessible via the authkit.permissions module.
This permission checks that the signed in user has any if the roles specified in roles. If all is True, the user must have all the roles for the permission check to pass.
Methods
f check(self, app, environ, start_response) ...
Should return True if the user has the role or False if the user doesn't exist or doesn't have the role.
In this implementation role names are case insensitive.
See the source for more information.
