Hi,

you can as well put you logic in the menu.py file like this :

if auth.user:
    if auth.user.id > 10 and auth.user.team == "admins":
        response.menu = . . . .
    else:
        response.menu = . . . .

I use this as a way to make custom menus depending on user logged in.

Sent from my Android

Reply via email to