Very nice. Thanks for posting. This appears to be much more complete, but 
note that every app includes some basic functionality for managing users, 
roles, and permissions via the URL /myapp/appadmin/manage/auth. All you 
have to do is include the following line in a model:

auth.settings.auth_manager_role = 'my_auth_admin_role'

and anyone in the 'my_auth_admin_role' group will have access to the 
functionality.

This is a special case of the more general auth.settings.manager_actions 
functionality described at 
http://web2py.com/books/default/chapter/29/09/access-control#Application-Management-via-privileged-users--Experimental-.

Anthony

On Sunday, October 15, 2017 at 9:12:40 AM UTC-4, Bernhard Radermacher wrote:
>
> I developed a little plugin to facilitate authorization management. It can 
> be found at:
>
> https://github.com/bradermacher/web2py-plugin-authman
>
> I appreciate any comments.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to