the situation is that I have permissions associated with auth_groups.
eg. user, team leader, business leader, oversight
now I need a "secretary" or "accounts" group which has access to some
business leader features i.e reports.
Some team leader features ie. price maintainence.
But does not have access to the basic features of normal users.
I can't see how to make an auth_group which has permissions which are
already associated with another group.
I am hoping for a solution which does not involve hard coding access to
these features using @auth.has_membership('accounts') as I don't expect
this to be last case of overlapping permissions.
Ideally I can make an interface where business leaders can make a custom
permission group and assign it to their employees. Without creating a
situation where each new employee needs to have a permission allocated for
every little thing.
i.e. customer maintenence, customer delete, product related permissions,
product permissions where special knowledge is required...
Is this possible with the Web2py Auth System?
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/e5b39f90-7aa7-4634-b4f9-83fa56e1cdb7o%40googlegroups.com.