-
Notifications
You must be signed in to change notification settings - Fork 187
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
Admin user tries to change his/her own role gives 500 status code #6037
Labels
Comments
2 tasks
We should fix the error code during the test writing. |
2403905
added a commit
to 2403905/ocis
that referenced
this issue
May 10, 2023
9 tasks
2403905
added a commit
to 2403905/ocis
that referenced
this issue
May 10, 2023
2403905
added a commit
to 2403905/ocis
that referenced
this issue
May 11, 2023
2403905
added a commit
that referenced
this issue
May 12, 2023
fix the wrong status code when appRoleAssignments is forbidden #6037
github-project-automation
bot
moved this from Needs Tests
to Done
in Infinite Scale Team Board
May 12, 2023
ownclouders
pushed a commit
that referenced
this issue
May 12, 2023
fix the wrong status code when appRoleAssignments is forbidden #6037
9 tasks
9 tasks
fschade
pushed a commit
that referenced
this issue
Jul 10, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When an Admin user tries to change his/her own role gives a 500 status code, with a response body containing the message 403 Forbidden.
Steps to reproduce
Steps to reproduce the behavior:
user1
Admin
touser1
user1
role tonewRole
Endpoints:
POST: /graph/v1.0/users/
user-id
/appRoleAssignments/Expected behavior
HTTP/1.1 403 Forbidden
Actual behavior
HTTP/1.1 500 Internal Server Error
The text was updated successfully, but these errors were encountered: