From 11fecdb92d1bb571f8a40629c08a4ddeda7779d0 Mon Sep 17 00:00:00 2001 From: nishanth Date: Sun, 28 Feb 2010 15:59:47 +0530 Subject: now accepting to be a MG deleted pending DV and MG reqs. --- taskapp/views/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'taskapp/views') 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": -- cgit