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

update lms api list_course_role_members to DRF #35059

Closed
Tracked by #35057
awais786 opened this issue Jul 2, 2024 · 0 comments
Closed
Tracked by #35057

update lms api list_course_role_members to DRF #35059

awais786 opened this issue Jul 2, 2024 · 0 comments
Assignees

Comments

@awais786
Copy link
Contributor

awais786 commented Jul 2, 2024

Updating api code using DRF.

  1. Added standard authentication_classes
  2. Added permission_classes

Steps to verify on local tutor instance:

  1. Open this page and few data-research roles.
  2. Go to this page and go to the bottom of page.
  3. From dropdown select the Course Data Researcher.

Expected result:

{
  "course_id": "course-v1:edx+cs222+2311",
  "data_researcher": [
    {
      "username": "admin",
      "email": "admin@example.com",
      "first_name": "abc",
      "last_name": "qdd"
    },
    {
      "username": "login_service_user",
      "email": "login_service_user@fake.email",
      "first_name": "",
      "last_name": ""
    }
  ]
}
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

No branches or pull requests

1 participant