appsembler / course-access-groups

An Open edX plugin to customize courses access by grouping learners and assigning different permissions to groups.
https://course-access-groups.readthedocs.io/
MIT License
4 stars 3 forks source link

add `organization_uuid` parameter for superusers #90

Closed OmarIthawi closed 2 years ago

OmarIthawi commented 2 years ago

RED-2634.

All endpoints now support choosing a specific organization on the Tahoe main site instead of get_current_organization().

Use the new parameter like below:

GET /course_access_groups/api/v1/courses/?organization_uuid=14cd5716-5455-11ec-a045

Then the API would find the right org based on Organization.edx_uuid field.

cc: @melvinsoft @estherjsuh @grozdanowski

I'm still working on this but I'm mostly done with the main design and implementation draft.

TODO

Quick security check