Repository navigation
[M2.3d4a] Expose scoped administration directories - #107
Merged
Merged
Conversation
samuelmbabhazi
force-pushed
the
feat/m2.3d3c2-resource-write-http
branch
from
November 5, 2026 15:03
7e61086 to
11c79f3
Compare
samuelmbabhazi
changed the base branch from
feat/m2.3d3c2-resource-write-http
to
main
November 5, 2026 15:04
samuelmbabhazi
force-pushed
the
feat/m2.3d4a-administration-read-http
branch
from
November 5, 2026 15:05
bc653a8 to
3e20b97
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.
Task
M2.3d4a, stacked on #106. Review in order; no automatic merge. This is the final PR for this work session, at the maintainer's request.
What changed and why
Expose the organization membership directory and project/environment effective-role directories as session-only GET endpoints. Each route requires current
member.manageauthority at its exact scope. Responses include membership metadata, effective role/source, direct overrides and inherited roles; credentials are never returned. Pagination uses the existing bounded, exclusive UUID contract and authorization filters precede pagination.Add OpenAPI DTOs, regenerate the API/client contracts and document the endpoints. Split the remaining M2.3d4 work in PLAN; only the directory slice is complete. Membership/binding writes, the complete registered-route matrix, project-owned tokens and administration screens remain pending.
Validation
Security considerations
No new mutation endpoint, dependency or shell invocation. Reads delegate to the existing account-locked application authorization and forced-RLS tenant transactions. Scoped resource administrators cannot read the organization directory or sibling resource grants. API tokens are rejected even when they contain member-management scopes. Disabled members remain visible only to authorized administrators for cleanup.
CI execution blocked
GitHub currently refuses to start jobs because of failed recent account payments or an insufficient spending limit. Resolve Billing & plans and rerun workflows before treating remote validation as complete. CodeQL remains separately disabled by repository configuration.
Checklist