Repository navigation
Conversation
Signed-off-by: bhagyasakalanka <bsakalanka9@gmail.com>
Signed-off-by: bhagyasakalanka <bsakalanka9@gmail.com>
Signed-off-by: bhagyasakalanka <bsakalanka9@gmail.com>
Signed-off-by: bhagyasakalanka <bsakalanka9@gmail.com>
Keep a current version of the configuration, captured after each change
Export organization units in a stable order
Malith-19
force-pushed
the
feat/5861-ou-subtree-users
branch
from
October 19, 2026 03:32
1751836 to
d16958a
Compare
Malith-19
force-pushed
the
feat/5861-ou-subtree-users
branch
from
October 19, 2026 03:50
d16958a to
533e8dc
Compare
Revert a gateway one step only
…ent-scope Scope cache entries by the deployment a request acts for
Add an ouId query parameter to GET /users that limits the listing to the
users directly in that organization unit. Users in units beneath it are not
included. The caller must be allowed to list users of the unit, the same check
GET /users/tree/{path} applies, so an inaccessible unit returns 403 and an
unknown one returns USR-1005. Pagination links keep the parameter.
Refs thunder-id#5861
Malith-19
force-pushed
the
feat/5861-ou-subtree-users
branch
from
October 19, 2026 05:48
533e8dc to
2ac5894
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Projects are being introduced as root organization units (thunder-id#5861, design in thunder-id#5862). To show the users of a project or organization unit in the Console, the user listing has to be scoped to that organization unit.
Approach
GET /usersaccepts an optionalouIdquery parameter. When set, the listing returns only the users directly in that organization unit. Users in organization units beneath it are not included.GET /users/tree/{path}applies, so an organization unit the caller cannot access returns403(SSE-4030).ouIdthat does not exist returns404withUSR-1005, matching the user API's existing organization unit errors.ouIdparameter, and attribute filters work together with it.ouId, the listing is unchanged. Internal callers ofGetUserList(SCIM, declarative resources) pass an emptyouId.GET /users/tree/{path}andGET /organization-units/{id}/usersalready list an organization unit's users, but they return only IDs and display names and do not support attribute filters. The Console's users page needs full user objects and filters, so the scope is added toGET /users.Related Issues
Related PRs
Checklist
breaking changelabel added.Security checks