Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(redwood): backport instructor APIs conversion to DRF #725

Draft
wants to merge 3 commits into
base: opencraft-release/redwood.1
Choose a base branch
from

Conversation

Agrendalath
Copy link
Member

TODO: Add testing instructions.

curl -X POST -d "grant_type=password&client_id=test&client_secret=test&username=<email>&password=<password>&token_type=jwt" http://localhost:18000/oauth2/access_token

Authorization: JWT <token>

http://localhost:18000/courses/course-v1:edX+DemoX+Demo_Course/instructor/api/modify_access
form-data:

unique_student_identifier:audit
rolename:staff
action:allow // (or "revoke")

http://localhost:18000/courses/course-v1:edX+DemoX+Demo_Course/instructor/api/list_course_role_members
form-data:

rolename:staff

Private-ref: BB-9250

Adding generic permission class. Added standard authentication classes.

(cherry picked from commit 39dd3c0)
* feat: upgrading simple api to drf compatible.

(cherry picked from commit 99760f8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants