diff options
Diffstat (limited to 'taskapp/views')
-rw-r--r-- | taskapp/views/user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/taskapp/views/user.py b/taskapp/views/user.py index 9ccdcaf..9daae3c 100644 --- a/taskapp/views/user.py +++ b/taskapp/views/user.py @@ -279,7 +279,7 @@ def change_rights(request, role): user_profile = user.get_profile() user_rights = user_profile.rights - user_can_view = True if user_rights == "AD" or ( user_rights == "MG" and role in ["mg", "dv"] ) else False + user_can_view = True if user_rights == "AD" or ( user_rights == "MG" and role in ["MG", "DV"] ) else False if user_can_view: if role == "DV": |