Ned Batchelder
|
8b1978ba6c
|
Fix unused-import errors
|
2016-08-03 12:44:41 -04:00 |
|
Calen Pennington
|
fc1e0b6637
|
Use the Django TestClient for course_creator unit tests, so that middleware is cleaned up properly
|
2016-06-08 16:43:31 -04:00 |
|
tlindaliu
|
0c837adfce
|
Refactor auth.has_access to auth.user_has_role
Change name of method to clear up confusion with the access.has_access method.
|
2015-07-19 20:42:29 -04:00 |
|
Ned Batchelder
|
78e9445aa1
|
Add super() calls to setUp/tearDown that are missing them
Also, I replaced a number of tearDown methods with addCleanup instead.
And also remove some unneeded patch.stopall() calls.
|
2015-05-14 18:14:21 -04:00 |
|
Waheed Ahmed
|
05b87fd99b
|
Implemented process_response method to clear requestcontext global variable in mako middleware.
LMS-6622
|
2014-08-06 19:58:20 +05:00 |
|
Don Mitchell
|
3ebac80778
|
Replace authz fns with roles.py ones
STUD-1006
|
2014-01-14 17:04:44 -05:00 |
|
David Baumgold
|
f3f4af8087
|
settings.MITX_FEATURES => settings.FEATURES
|
2013-12-03 15:34:55 -05:00 |
|
cahrens
|
5168a080ff
|
Don't add users marked with is_staff to course creation table.
|
2013-07-22 14:45:22 -04:00 |
|
cahrens
|
4ecceb292e
|
Add tests for changing table status without staff permissions.
|
2013-07-12 09:30:36 -04:00 |
|
cahrens
|
283e2b2e60
|
Don't store abbreviations for state.
|
2013-07-09 13:07:38 -04:00 |
|
cahrens
|
01557b26be
|
Move call into authz methods out of model class.
|
2013-07-09 12:47:54 -04:00 |
|
cahrens
|
99584aab23
|
pep8 cleanup
|
2013-07-09 11:08:27 -04:00 |
|
cahrens
|
5a3a03c0d4
|
Change user to foreign key (tracks deletions).
|
2013-07-09 10:23:38 -04:00 |
|
cahrens
|
69a998780a
|
Remove test case moved to test_admin.
|
2013-07-08 16:10:43 -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 |
|