docs: document the organizational structure - #552
Open
abdulrafey1 wants to merge 1 commit into
Open
Conversation
abdulrafey1
marked this pull request as draft
July 27, 2026 10:02
abdulrafey1
marked this pull request as ready for review
July 27, 2026 10:41
hamza-56
approved these changes
Jul 28, 2026
Rebased onto main after the permission-groups stack merged; the branch's commits were consolidated into one (content identical to the pre-rebase tree). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
abdulrafey1
force-pushed
the
rafey/docs/org-tree
branch
from
July 31, 2026 10:41
a58ed48 to
9f3fa68
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.
Closes: Organizational structure has no representation
Part 3 of 3 stacked PRs — stacked on #550 (management surface). Merging this one closes #548.
What
Documents the organizational structure so the permissions guide and README describe the shipped behaviour.
Changes
docs/guides/permissions.md— the two tables and their HR-truth role, the inert invariant (nocan()path reads the tree) and why it exists anyway (rule-driven group membership will reference it), the engine-maintained path encoding (/1/7/42/), the management surface (REST/api/v1/organization/unitsincl."parent_id": null= move to root; CLIorganization add-member/organization remove-memberby unit id),OrganizationCycleError/OrganizationalUnitInUsesemantics, and the no-inheritance rule; plus a pointer sentence in "The model"How to Test
make docs— builds cleanly; the permissions guide renders the new section.Notes
None — documentation only.
This PR description was written with the assistance of an LLM (Claude).