AuthKit

 

HasAuthKitGroup

Designed to work with the user management API described in the AuthKit manual.

This permission checks that the signed in user is in one of the groups specified in groups.


Methods

f __init__(self, groups, error=None) ...

f check(self, app, environ, start_response) ...

Should return True if the user has the group or False if the user doesn't exist or doesn't have the group.

In this implementation group names are case insensitive.

See the source for more information.