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 bulk_beta_modify_access api to DRF #35285

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

update bulk_beta_modify_access api to DRF #35285

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

Comments

@awais786
Copy link
Contributor

awais786 commented Aug 9, 2024

Existing code

verify using postman

  1. Post request using this URL

  2. pass form-data

    identifiers: audit,awaisq
    email_students: true
    auto_enroll: true
    action: add or remove

expected result

{
    "action": "add",
    "results": [
        {
            "identifier": "audit",
            "error": false,
            "userDoesNotExist": false,
            "is_active": true
        },
        {
            "identifier": "awaisq",
            "error": false,
            "userDoesNotExist": false,
            "is_active": true
        }
    ]
}

end to end testing

  1. go to this page instructor > membership
  2. pass valid usernames with comma separated e.g admin, staff
  3. Press add beta testers button.
  4. Now from below dropdown Select a course team role:: select beta testers.
  5. It will load the admin and staff as beta testers.
  6. Now repeat above steps 2 and press remove beta tester button.
  7. Now from below dropdown Select a course team role:: select beta testers.
    8.It will appear empty.
Screenshot 2024-08-09 at 7 33 28 PM
@awais786 awais786 changed the title bulk_beta_modify_access api to DRF update bulk_beta_modify_access api to DRF Aug 23, 2024
@awais786 awais786 self-assigned this Oct 7, 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