Assigning multiple roles to user in single api

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

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.

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.

Dominant language
Java
Stars
1.6k
Forks
847
Avg merge
2d 1h
Merged PRs (30d)
48

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from cloudfoundry/uaa

All issues in cloudfoundry/uaa

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.