Just change your models/menu.py to have a conditional section which will 
add a section to response.menu,  perhaps comething like this:

if auth.has_membership('admin'):    
    response.menu += [
        (T('Admin'),False,'',[
                            (T('Test1'),False,URL('default','admin_test1')),
                            (T('Test2'),False,URL('default','admin_test2')),
    ]



On Friday, October 5, 2012 1:17:56 PM UTC+1, piero crisci wrote:
>
> Hello i am new to web2py and i am really skilled.
> I am trying to improve my tests but i can t find a solution for this 
> problem.
> I wanto to buil a menù with 2 macro categories:
> - Pages with Pubblic Navigation for user logged in
> - Pages for user included in an auth.groups called ( Admin)
>
> How can i manage to show the only first category for the normal user 
> without showing the second category?
> Thank for help!
>
>

-- 



Reply via email to