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

Add graph api-test to (Delete | Change ) appRoleAssignments of a user #6012

Closed
2 tasks done
SagarGi opened this issue Apr 5, 2023 · 3 comments
Closed
2 tasks done
Assignees
Labels

Comments

@SagarGi
Copy link
Member

SagarGi commented Apr 5, 2023

Description

Add graph-api test to change and unassign the appRoleAssignments of a user.

EndPoint: /graph/v1.0/users/{userID}/appRoleAssignments/{appRoleAssignmentID}

Note:Also check for other combination if can be added in a possible ways related to deletion and change of app role of a user

@grgprarup
Copy link
Contributor

grgprarup commented Apr 12, 2023

What are the things prohibited or limited to users whose role is deleted?
Currently, when the user's role is deleted, the user can create folders through API, after folder creation user role is set to role User.
Some issues regarding status code are reported here #5938, #6035, #6037
Need some input here.
@micbar @individual-it @ScharfViktor

@rhafer
Copy link
Contributor

rhafer commented Apr 13, 2023

Currently, when the user's role is deleted, the user can create folders through API, after folder creation user role is set to role User.

The default behavior for users without a role assignment is described here: https://github.com/owncloud/ocis/tree/master/services/proxy#automatic-role-assignments

So, in an standard deployment, without any additional configuration, what you're seeing (user's are getting the "user" role assigned again) is the expected behavior.

@grgprarup grgprarup changed the title Add graph api-test to (Delete | Change ) appRole of a user Add graph api-test to (Delete | Change ) appRoleAssignments of a user Apr 19, 2023
@SwikritiT
Copy link
Contributor

@grgprarup can this be closed now? Anything left to do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants