import gluon.fileutils
@auth.requires(auth.user and
gluon.fileutils.check_credentials(request))
def ....
On Feb 11, 9:21 pm, "G. Clifford Williams"
<[email protected]> wrote:
> I'm trying to get a layout page/template to display response.menu_edit
> only if the current user is the web2py admin (read: the admin user
> that has the password set with the -a option on invocation of python
> web2py.py)
>
> Thanks in advance
>
> --G. Clifford Williams
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.