diff -r 581ad20b8c39 -r 0c97a02b9bdb taskapp/views/user.py --- a/taskapp/views/user.py Sun Feb 28 14:58:11 2010 +0530 +++ b/taskapp/views/user.py Sun Feb 28 15:59:47 2010 +0530 @@ -279,7 +279,7 @@ 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":