cloudfoundry / cloudfoundry/uaa

Assigning multiple roles to user in single api

Open
#2,982 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.6k
Forks
844
Avg merge
2d 5h
Merged PRs (30d)
27

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the SCIM groups/id/member API and the user PATCH entry point described in the issue. Establish the expected role-list and delta-assignment behavior, including mixed assigned and unassigned roles, then confirm the design against SCIM compliance and transaction-management requirements.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, authentication, authorization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.