Commit Graph

16 Commits

Author SHA1 Message Date
M. Zulqarnain
36748ff78f pyupgrade on LMS instructor app (#26533) 2021-02-22 12:58:35 +05:00
Dave St.Germain
b7927bedc9 Allow global staff to access data download tab 2020-05-04 11:31:53 -04:00
Dave St.Germain
7336ea91fe This refactors instructor dashboard access to use Bridgekeeper permissions and allows the Data Researcher course/org role to access only the data downloads tab of the dashboard.
TNL-7176
2020-04-22 11:06:08 -04:00
Ned Batchelder
efba6e45e8 Finally import courseware properly everywhere to get rid of a warning 2019-09-26 09:40:15 -04:00
Calen Pennington
e0981f3b96 Switch generate_certificate_exceptions over to using a StaffAccessRule with query checking 2019-08-05 09:59:30 -04:00
Calen Pennington
23a91ba0f2 Switch generate_bulk_certificate_exceptions over to using a StaffAccessRule with query checking 2019-08-05 09:59:30 -04:00
Calen Pennington
b855275353 Switch enable_certificate_generation over to using a StaffAccessRule with query checking 2019-08-05 09:59:30 -04:00
Calen Pennington
1aed6c882b Switch change_due_date over to using a StaffAccessRule with query checking 2019-08-05 09:59:30 -04:00
Calen Pennington
c3d86c9b3c Switch sale_validation over to using a StaffAccessRule with query checking 2019-08-05 09:59:30 -04:00
Calen Pennington
11677d052c Switch update_forum_role_membership over to using a StaffAccessRule with query checking 2019-08-05 09:59:30 -04:00
Calen Pennington
7d55483fbe Convert modify_access to require_course_permission 2019-08-05 09:59:30 -04:00
Calen Pennington
04e5501324 Convert add_users_to_cohorts to require_course_permission 2019-08-05 09:59:30 -04:00
Calen Pennington
a2ea80dbca Convert mark_student_can_skip_entrance_exam to require_course_permission 2019-08-05 09:59:30 -04:00
Calen Pennington
c270273e13 Convert get_issued_certificates to use requires_course_permission 2019-08-05 09:59:30 -04:00
David Ormsbee
8f65ab53f0 Revert "[BB-728] Add problem response report API" 2019-02-28 13:10:31 -05:00
Giovanni Cimolin da Silva
e8883ad3a8 Add OAuth2 support for problem response reports endpoints and move API
This commit adds OAuth2 support to the problem response report endpoints and moves them to a better location following EdX API standards while keeping compatibility to the old
endpoint locations.
This was done to enable the use of reports functionality by external agents and provide a better separation between backend and frontend.

The following endpoints have been moved:

* List instructor tasks:
New URL: POST /api/instructor/v1/course/{}/tasks
Old URL: POST /courses/{}/instructor/api/list_instructor_tasks

* Download instructor reports:
New URL: POST /api/instructor/v1/course/{}/reports
Old URL: POST /courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_report_downloads

* Generate problem response reports:
New URL: POST /api/instructor/v1/course/{}/reports/problem_responses
Old URL: POST /courses/course-v1:edX+DemoX+Demo_Course/instructor/api/get_problem_responses

Note: The behaviour of the URLs was not modified.
2019-02-15 08:32:21 -02:00