Commit 3578cca7 by Matt Drayer Committed by Zia Fazal

mattdrayer/api-course-observer-role: Added new 'observer' role, plus batch PUT operation

parent 7f106296
......@@ -256,6 +256,15 @@ class CourseObserverRole(CourseRole):
@register_access_role
class CourseObserverRole(CourseRole):
"""A course Observer"""
ROLE = 'observer'
def __init__(self, *args, **kwargs):
super(CourseObserverRole, self).__init__(self.ROLE, *args, **kwargs)
class CourseBetaTesterRole(CourseRole):
"""A course Beta Tester"""
ROLE = 'beta_testers'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment