From 236d37b276fbf51acf83bc39b71adee0eb84531c Mon Sep 17 00:00:00 2001 From: Chris Dodge Date: Thu, 18 Oct 2012 10:00:08 -0400 Subject: [PATCH] EDITOR_ROLE_NAME -> STAFF_ROLE_NAME --- cms/djangoapps/contentstore/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/djangoapps/contentstore/views.py b/cms/djangoapps/contentstore/views.py index 1f206539f3..adf79ffe41 100644 --- a/cms/djangoapps/contentstore/views.py +++ b/cms/djangoapps/contentstore/views.py @@ -752,7 +752,7 @@ This view will return all CMS users who are editors for the specified course def manage_users(request, location): # check that logged in user has permissions to this item - if not has_access(request.user, location, role=INSTRUCTOR_ROLE_NAME) and not has_access(request.user, location, role=EDITOR_ROLE_NAME): + if not has_access(request.user, location, role=INSTRUCTOR_ROLE_NAME) and not has_access(request.user, location, role=STAFF_ROLE_NAME): raise PermissionDenied() course_module = modulestore().get_item(location)