David Baumgold
79c554ba5b
course admin team: handle is_staff users
...
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.
2013-07-29 13:12:05 -04:00
cahrens
99584aab23
pep8 cleanup
2013-07-09 11:08:27 -04:00
cahrens
28115af488
The course creator view adds granted users course creator status.
...
Includes unit tests and modifications to authz.py.
2013-07-08 16:08:06 -04:00
cahrens
f1f6acb5c7
Updates to admin table view.
...
Also hooks up the granted and deny events to the course creator group.
2013-07-03 17:07:06 -04:00
cahrens
2970f24245
Initial admin table view.
2013-07-03 09:24:02 -04:00
cahrens
32e6d4819f
pep8/pylint cleanup.
2013-06-27 16:18:16 -04:00
cahrens
27e720cf3b
Make it clear that this should only be run once.
2013-06-27 11:00:11 -04:00
cahrens
ce100bad88
Add doc strings.
2013-06-27 09:48:47 -04:00
cahrens
42f71156de
Script for making all instructors content creators.
2013-06-27 08:59:04 -04:00
cahrens
4a697a8da1
Verify that caller of add or remove from creator group is staff.
2013-06-26 10:52:26 -04:00
cahrens
190c07d954
Add smoke coverage for add and remove of course group permissions.
2013-06-26 10:52:26 -04:00
cahrens
2c60a7dbc1
pep8 cleanup
2013-06-26 10:52:26 -04:00
cahrens
318372f2c0
Introduce course creator group.
2013-06-26 10:48:31 -04:00
Don Mitchell
1ff022e181
Incidental pep8 changes
2013-06-18 17:25:06 -04:00
Chris Dodge
b4fe23f3a2
more cleanups in CMS project
2013-04-13 21:13:34 -04:00
Calen Pennington
cfae1cdf62
Pep8 autofixes
2013-02-06 11:13:50 -05:00
Chris Dodge
28d9827468
fix up some thumbnail issues. Also we need to manage the user permissions when we clone and delete course
2012-12-27 10:20:28 -05:00
Chris Dodge
b40a8a3e9e
implement course clone and delete functionality from the command line
2012-12-20 13:55:15 -05:00
Chris Dodge
14a1a7da31
allow importing of .tar.gz packages of courseware
2012-10-12 10:33:31 -04:00
Chris Dodge
a80e8ce3d5
respond to Cale pull request comments. Update access.py (LMS) to use the same 'check for legacy group name first' logic. Add SECRET_KEY setting to the CAS project so that auth tokens from CAS are accepted in the LMS
2012-10-09 15:11:07 -04:00
Chris Dodge
68945fdc77
adhere to the naming conventions of user groups (instructor_* and staff_* of the LMS AuthZ implementation). While we're keeping our authz.py implementation - which is duplicative of LMS's access.py - in order to minimize code churn/risk-of-regression, there is data compatibility so the two systems will interpret the data the same way
2012-10-09 13:14:31 -04:00
Chris Dodge
e3d065a66a
allow 'is_staff' flagged user accounts to run as super-admin, which means belonging to all groups
2012-10-02 12:33:05 -04:00
Chris Dodge
580e620b22
add distinct 'admin' role separate from 'editors'. Only 'admins' should be able to add/remove editors.
2012-10-01 15:13:20 -04:00
Chris Dodge
27016465f4
support some simple authorization scheme to view/edit courses
2012-10-01 15:13:19 -04:00