nelc / futurex-openedx-extensions

Open edX APIs and reporting tools
Other
0 stars 0 forks source link

feat: Add a role management API for both courses and organization-wide roles #22

Open OmarIthawi opened 1 month ago

OmarIthawi commented 1 month ago

Faris will provide us with a design so we make the API for.

But generally the API should allow the following:

GET /roles
user_id:
POST /roles
org: (double checked for secuirty reasons)
course_id: (optional, if we need a course-specific role)
user_ids: ['test@example', 'username123'] (multiple users at once)
DELETE /roles
By role ID
DELETE /roles
by user ID

Supported roles:

Notes about roles: