From 5b191285d69038f98e77bdd3568948f64e4d073b Mon Sep 17 00:00:00 2001 From: Ole Laursen Date: Tue, 12 Jul 2016 13:42:19 +0000 Subject: [PATCH] Fix role misspelling that prevented review team secretaries from accessing protected pages - Legacy-Id: 11628 --- ietf/review/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/review/utils.py b/ietf/review/utils.py index a5764561f..b9c8801e2 100644 --- a/ietf/review/utils.py +++ b/ietf/review/utils.py @@ -30,7 +30,7 @@ def can_manage_review_requests_for_team(user, team): if not user.is_authenticated(): return False - return Role.objects.filter(name__in=["secretary", "delegate"], person__user=user, group=team).exists() or has_role(user, "Secretariat") + return Role.objects.filter(name__in=["secr", "delegate"], person__user=user, group=team).exists() or has_role(user, "Secretariat") def make_new_review_request_from_existing(review_req): obj = ReviewRequest()