I would like to create security groups for my newly minted web2py app, and 
so I have been reading the chapter on Access 
Control<http://www.web2py.com/books/default/chapter/29/09/access-control#Access-Control>;
 
in the section titled *Authorization *it states: "You can create groups, 
give membership and permissions via *appadmin* or programmatically using 
the following methods..."  

*My question is: *how do you edit the security tables using *appadmin*? 
Browsing to: *[app]/appadmin/index* does not show any auth_??? tables. What 
am I missing? 

Ultimately, what I would like to do is have something like this in a view:
{{if auth.requires_membership('agents'):}}  
    <some html>
{{elif auth.requires_membership('double_agents'): }}
    <other html>
{{else:}}
    <catch-all>
{{pass}}

-- 

--- 
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/groups/opt_out.


Reply via email to