FIX: dav_event_office: use has_global_permission instead of has_role to

give access to super users.
This commit is contained in:
heinzel committed 2019-07-03 15:27:31 +02:00
1 parent 7540a3ae7a
commit c62eba67f6
2 files changed
+9 -7

No files matched your search

+2
View File
@@ -475,6 +475,8 @@ class BasicWorkflow(object):
if permission == 'export':
return has_role(user, 'publisher')
elif permission == 'payment':
return has_role(user, 'office')
return False
#