appadmin/auth_manage and appadmin/manage, thanks Anthony

This commit is contained in:
mdipierro
2013-05-31 21:29:28 -05:00
parent 3ce3171dff
commit 4f2e327d33
9 changed files with 238 additions and 33 deletions
+1 -3
View File
@@ -37,9 +37,7 @@ def user():
@auth.requires_permission('read','table name',record_id)
to decorate functions that need access control
"""
auth.settings.manager_group_id=1
return auth() if request.extension=='load' else dict(form=auth())
return dict(form=auth())
@cache.action()
def download():