> *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? 
>

Does it show any tables? The auth tables should definitely be there if you 
have set things up properly. If necessary, pack and attach a minimal app 
that reproduces the problem.


> 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'): }}
>

Note, it would be auth.has_membership() in that case. 
auth.requires_membership() is used as a function decorator.

Anthony

-- 

--- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to