Commit b34c64d4 authored by Romain Courteaud's avatar Romain Courteaud

slapos_panel: drop unused code

parent ebe5435c
......@@ -11,9 +11,4 @@ if getGroups is not None:
((agent) and ('%s_F-PRODAGNT' % project_reference in user_group_list)) or
((customer) and ('%s_F-CUSTOMER' % project_reference in user_group_list))
)
return (
((not manager) or ('%s_F-PRODMAN' % project_reference in user_group_list)) and
((not agent) or ('%s_F-PRODAGNT' % project_reference in user_group_list)) and
((not customer) or ('%s_F-CUSTOMER' % project_reference in user_group_list))
)
return False
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