Commit e29a02a9 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Bug fixed in the models.

parent c6b1701f
......@@ -16,7 +16,7 @@ PanelWithUrlSelector = dbui.to_panelWithUrlSelector
#
#-------------------------------------------------------------------------------
casNode = None
if session.auth and session.role == ADMIN:
if "auth" in globals() and session.role == ADMIN:
leaves = ('auth_user', 'auth_group', 'auth_membership')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment