File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -156,6 +156,13 @@ adjust the space's access rules.
156156- Add teammates: ` brainkb_add_space_member(slug, email, "editor"|"viewer") ` .
157157
158158### 8. Manage & delegate (RBAC)
159+ - ** Admin vs SuperAdmin:** ** SuperAdmin** is bootstrapped at deployment (env
160+ allowlist), is protected (can't be banned/deleted/demoted), and is the ** only**
161+ role that can create/remove ** Admins** or ban an Admin. ** Admin** is granted by a
162+ SuperAdmin; same KG powers but itself manageable. Both manage ** all** team spaces.
163+ - ** ` manage_team_space ` is scoped:** a non-admin with it manages ** only** team
164+ spaces they ** created (own)** or were ** assigned to** (a member of / matched by a
165+ per-space ` manage ` rule) — never all team spaces. Only Admin/SuperAdmin manage all.
159166- ** See the options first:** ` brainkb_list_capabilities() ` returns the catalog —
160167 all KG capabilities, which are delegatable (` grantable ` ), which are admin-only
161168 (` grant ` , ` sparql_admin ` ), and what each means.
You can’t perform that action at this time.
0 commit comments