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

EnrollmentUserRolesView not returning user roles? #35041

Open
rsuigh opened this issue Jun 26, 2024 · 4 comments
Open

EnrollmentUserRolesView not returning user roles? #35041

rsuigh opened this issue Jun 26, 2024 · 4 comments

Comments

@rsuigh
Copy link

rsuigh commented Jun 26, 2024

Hello,
i think that EnrollmentUserRolesView are not returning roles when we pass course_id:

without course_id
image

with course_id
image

or am i doing something wrong?

@shadinaif
Copy link
Contributor

@rsuigh please use %2B instead of + in the URL

local.edly:8000/api/enrollment/v1/roles/?course_id=counrse-v1:edX%2BDemo%2BDemo_Course

@awais786
Copy link
Contributor

@rsuigh Is this bug still valid?

@rsuigh
Copy link
Author

rsuigh commented Jan 30, 2025

@rsuigh Is this bug still valid?

hi @awais786, i dont know acctualy. I think i solved it another way. just to you guys know, this happened in openedx quince, so maybe in newer versions might be working

@rsuigh
Copy link
Author

rsuigh commented Jan 30, 2025

now i remember. @shadinaif told me to replace + with %2B and it worked

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

3 participants