From b811f43c56c8e051ab741339647250a27c471a9b Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Sat, 29 Jul 2017 16:22:39 -0500 Subject: [PATCH] Make sure instructors of newly-set-up courses are allowed to us the admin interface --- course/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/models.py b/course/models.py index a72cba9a..6beeb789 100644 --- a/course/models.py +++ b/course/models.py @@ -609,7 +609,7 @@ def add_default_roles_and_permissions(course, add_student_permissions(role) def add_instructor_permissions(role): - rpm(role=role, permission=pp.use_admin_interface) + rpm(role=role, permission=pp.use_admin_interface).save() rpm(role=role, permission=pp.impersonate_role, argument="ta").save() rpm(role=role, permission=pp.edit_course_permissions).save() -- GitLab