Name |
Last commit
|
Last update |
---|---|---|
.. | ||
djangoapps | ||
envs | ||
static | ||
templates | ||
.coveragerc | ||
__init__.py | ||
one_time_startup.py | ||
pydev_manage.py | ||
urls.py | ||
xmodule_namespace.py |
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 |
---|---|---|
.. | ||
djangoapps | Loading commit data... | |
envs | Loading commit data... | |
static | Loading commit data... | |
templates | Loading commit data... | |
.coveragerc | Loading commit data... | |
__init__.py | Loading commit data... | |
one_time_startup.py | Loading commit data... | |
pydev_manage.py | Loading commit data... | |
urls.py | Loading commit data... | |
xmodule_namespace.py | Loading commit data... |