This class encapsulates an authorization decision based on group membership. Users who authenticate as a member of a usergroup specified in the policy receive access to the service. Otherwise access is denied.
| Example 5.6. A simple PermitGroup policy |
|---|
|
The following example permits only the members of
the AuthorizationPolicy(name="demo_authorization_policy", authorization=PermitGroup(grouplist=("admin", "system")))
|
Copyright: © 2021 Balasys IT Security
Send your comments to support@balasys.hu


