Skip to content

Commit 7e3c4f0

Browse files
committed
brainkb skill: Admin vs SuperAdmin + manage_team_space scoping note
1 parent 0520675 commit 7e3c4f0

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

skills/brainkb_skills/SKILL.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)