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

Do not return groups associated with organizations from the Admin Group API #28734

Closed
Tracked by #28133
pedroigor opened this issue Apr 15, 2024 · 2 comments · Fixed by #29046
Closed
Tracked by #28133

Do not return groups associated with organizations from the Admin Group API #28734

pedroigor opened this issue Apr 15, 2024 · 2 comments · Fixed by #29046
Assignees

Comments

@pedroigor
Copy link
Contributor

No description provided.

@martin-kanis martin-kanis self-assigned this Apr 17, 2024
martin-kanis added a commit to martin-kanis/keycloak that referenced this issue Apr 24, 2024
…up API

Closes keycloak#28734

Signed-off-by: Martin Kanis <mkanis@redhat.com>
martin-kanis added a commit to martin-kanis/keycloak that referenced this issue Apr 24, 2024
…up API

Closes keycloak#28734

Signed-off-by: Martin Kanis <mkanis@redhat.com>
martin-kanis added a commit to martin-kanis/keycloak that referenced this issue Apr 24, 2024
…up API

Closes keycloak#28734

Signed-off-by: Martin Kanis <mkanis@redhat.com>
@martin-kanis
Copy link
Contributor

As we discussed in the team, for the first iteration, we will still show organization related groups via group API. Reasons are:

  • filtering in the groups endpoint breaks pagination
  • count is done by a count query which means we would need to adjust query or fetch everything, filter and then count
  • we would like to avoid adjusting existing group queries

Instead, we will make organization related groups read-only in groups API and throw 403 Forbidden for non-read operations.

martin-kanis added a commit to martin-kanis/keycloak that referenced this issue Apr 26, 2024
… APIs

Closes keycloak#28734

Signed-off-by: Martin Kanis <mkanis@redhat.com>
martin-kanis added a commit to martin-kanis/keycloak that referenced this issue Apr 26, 2024
… APIs

Closes keycloak#28734

Signed-off-by: Martin Kanis <mkanis@redhat.com>
@martin-kanis
Copy link
Contributor

The issue aims to add following capabilities:

  • These groups should not be manageable by the Group API
  • Make sure the group name used and its format are reserved and can not be set to regular groups
  • Organization member accounts should not be manageable by the User API

martin-kanis added a commit to martin-kanis/keycloak that referenced this issue Apr 30, 2024
… APIs

Closes keycloak#28734

Signed-off-by: Martin Kanis <mkanis@redhat.com>
martin-kanis added a commit to martin-kanis/keycloak that referenced this issue Apr 30, 2024
… APIs

Closes keycloak#28734

Signed-off-by: Martin Kanis <mkanis@redhat.com>
martin-kanis added a commit to martin-kanis/keycloak that referenced this issue Apr 30, 2024
… APIs

Closes keycloak#28734

Signed-off-by: Martin Kanis <mkanis@redhat.com>
martin-kanis added a commit to martin-kanis/keycloak that referenced this issue Apr 30, 2024
… APIs

Closes keycloak#28734

Signed-off-by: Martin Kanis <mkanis@redhat.com>
martin-kanis added a commit to martin-kanis/keycloak that referenced this issue Apr 30, 2024
… APIs

Closes keycloak#28734

Signed-off-by: Martin Kanis <mkanis@redhat.com>
martin-kanis added a commit to martin-kanis/keycloak that referenced this issue Apr 30, 2024
… APIs

Closes keycloak#28734

Signed-off-by: Martin Kanis <mkanis@redhat.com>
pedroigor pushed a commit to martin-kanis/keycloak that referenced this issue May 2, 2024
… APIs

Closes keycloak#28734

Signed-off-by: Martin Kanis <mkanis@redhat.com>
martin-kanis added a commit to martin-kanis/keycloak that referenced this issue May 6, 2024
… APIs

Closes keycloak#28734

Signed-off-by: Martin Kanis <mkanis@redhat.com>
martin-kanis added a commit to martin-kanis/keycloak that referenced this issue May 6, 2024
… APIs

Closes keycloak#28734

Signed-off-by: Martin Kanis <mkanis@redhat.com>
martin-kanis added a commit to martin-kanis/keycloak that referenced this issue May 7, 2024
… APIs

Closes keycloak#28734

Signed-off-by: Martin Kanis <mkanis@redhat.com>
martin-kanis added a commit to martin-kanis/keycloak that referenced this issue May 7, 2024
… APIs

Closes keycloak#28734

Signed-off-by: Martin Kanis <mkanis@redhat.com>
pedroigor pushed a commit to pedroigor/keycloak that referenced this issue May 7, 2024
… APIs

Closes keycloak#28734

Signed-off-by: Martin Kanis <mkanis@redhat.com>
martin-kanis added a commit to martin-kanis/keycloak that referenced this issue May 7, 2024
… APIs

Closes keycloak#28734

Signed-off-by: Martin Kanis <mkanis@redhat.com>
martin-kanis added a commit to martin-kanis/keycloak that referenced this issue May 7, 2024
… APIs

Closes keycloak#28734

Signed-off-by: Martin Kanis <mkanis@redhat.com>
pedroigor pushed a commit that referenced this issue May 7, 2024
… APIs

Closes #28734

Signed-off-by: Martin Kanis <mkanis@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants