Name |
Last commit
|
Last update |
---|---|---|
.. | ||
auth | ||
contentstore | ||
course_creators | ||
models |
A user with `is_staff=True` is treated as being in all groups. This is problematic when we care about the user's staff/instructor role for a course: you can't remove the instructor role. This commit changes the `is_user_in_course_group_role` function to allow the caller to specify that it should not check the `is_staff` attribute on the user.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
auth | Loading commit data... | |
contentstore | Loading commit data... | |
course_creators | Loading commit data... | |
models | Loading commit data... |