hello one and all,

new to web2py.  love it so far, very graceful and full featured.  i am
having difficulty learning the auth system.  very difficult to find
good basic examples on this topic.

first i want to shutoff the default of creating a new group for each
registered person.  what is the setting to override that default
behavior?

i am "auth.settings.registration_requires_approval = True" so that i
can manually manage users and the group they belong to and their
associated permissions.  when i approve the user by erasing pending
under auth_user, i want to assign them to one of six groups i setup in
auth_group.  each group has its own permission under auth_permission.
what is the best way to setup groups (roles) and permissions in web2py
and then assign that group or role to the newly allowed user?  is
their a web2py admin interface for this besides the web2py database
admin interface?

and lastly, how to decorate my functions with either group/role or
permissions to either allow or deny that function?  also, what is the
best way to check in a controller function or view that group/role or
permission once the user is logged in to verify the user and either
display or not display certain information?

i know a lot a related questions, but i just can't seem to find good
documentation on it.  thank you in advance and have a great week.
lucas

Reply via email to