8000 Can't add user to "parent group" if member of a subgroup · Issue #9482 · keycloak/keycloak · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content 10000
Can't add user to "parent group" if member of a subgroup #9482
Closed
@olemathias

Description

@olemathias

Describe the bug

Trying to add a user to a parent group when the user already is a member of a subgroup don't work. No errors, just not added to the group.

Version

16.1.0

Expected behavior

User gets added to the group or a error is thrown.

Actual behavior

User is not added to the group and no visible errors.

How to Reproduce?

  1. Create a new group.
  2. Create a group under the newly created group.
  3. Add a user to the subgroup created in step 2.
  4. Try to add the user to the parent group created in step 1.

You will get Success! Added group membership, but the user is not added to the group. The same is true from the API.

The reverse order (add to the root group first) works as excepted.

Anything else?

If this is working as expected the API should return a error, and doing it in reverse should not work.

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0