auth.has_membership(group_id, user_id, role)
*
*
You can specify either group_id or role. The current logged in user is 
assumed if user_id is not 
specified. See http://web2py.com/book/default/chapter/08#Authorization.

Anthony


On Sunday, October 2, 2011 10:56:43 AM UTC-4, Web2Py Freak wrote:
>
> hey guys , 
>
>
>  i want to use somthing like this in my page but with ROLES: 
>
> {{if auth.is_logged_in():}} 
>
> {{pass}}

Reply via email to