cloudfoundry/uaa

Assigning multiple roles to user in single api

Rohit04061992 opened this issue · 1 comments

As per scim compliance when user is being assigned to a role groups/id/member api is invoked , but if user has to be assigned multiple roles or permissions then the entire tx becomes very complex and it becomes more complex when certain roles are unassigned and certain are assigned to the user , can this be done in patch call for user where list of roles are provided and uaa internally does the delta assignment , in this way transaction management can be avoided at the clients side.

hi,

if you see issues with https://docs.cloudfoundry.org/api/uaa/version/77.18.0/index.html#patch-2
and you have a PR to improve the situation, it would be welcome.

from now it is a feature request and hard to plan with current resources