diff options
author | nishanth | 2010-02-28 15:59:47 +0530 |
---|---|---|
committer | nishanth | 2010-02-28 15:59:47 +0530 |
commit | 11fecdb92d1bb571f8a40629c08a4ddeda7779d0 (patch) | |
tree | 44b4eedf2caf90486af89e9beb04086918e16151 /taskapp/views | |
parent | d8877baf7c620852935f52d6779a8598caf5ec0d (diff) | |
download | pytask-11fecdb92d1bb571f8a40629c08a4ddeda7779d0.tar.gz pytask-11fecdb92d1bb571f8a40629c08a4ddeda7779d0.tar.bz2 pytask-11fecdb92d1bb571f8a40629c08a4ddeda7779d0.zip |
now accepting to be a MG deleted pending DV and MG reqs.
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": |