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_forum_role_membership api to DRF #35339

Open
Tracked by #35057
awais786 opened this issue Aug 22, 2024 · 0 comments
Open
Tracked by #35057

update_forum_role_membership api to DRF #35339

awais786 opened this issue Aug 22, 2024 · 0 comments
Assignees

Comments

@awais786
Copy link
Contributor

awais786 commented Aug 22, 2024

Verify via postman

  1. Send post request to this URL
  2. form-data
    unique_student_identifier: username
    rolename: pass any from the list [Administrator, Moderator, Group Moderator, Community TA]
    action: allow or revoke

expected result
{ "course_id": "course-v1:edx+cs222+2311", "action": "allow" }
Verify via instructor dashboard

  1. Go to this page
  2. select the role from drop down and press add. It will appear in the Discussion Moderators list.
  3. Now press revoke link. It will remove the user from the list.
Screenshot 2024-08-22 at 6 36 18 PM
@awais786 awais786 self-assigned this Aug 22, 2024
@awais786 awais786 changed the title Update_forum_role_membership update_forum_role_membership Aug 22, 2024
@awais786 awais786 changed the title update_forum_role_membership feat: update_forum_role_membership api to DRF Aug 22, 2024
@awais786 awais786 changed the title feat: update_forum_role_membership api to DRF update_forum_role_membership api to DRF Aug 23, 2024
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