Run the example application provided in
access2.py and log in as
admin. You will see that besides Users and Accounts, you are presented with links to Roles and Permissions as well. If you click on Roles, you will see we have defined several roles:
As you can see in the screenshot, we have also defined a Superuser role to illustrate that it is possible to extend the concept of role-based access control to the maintenance of roles and permissions themselves.
Applications that use this form of access control have to be adapted only slightly. Take a look at