docs: hide ROLE_ADMIN from role management (attached to every admin, grants nothing)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
1 parent
f5d1b6d032
commit
4d261d20d5
2 files changed
+3
-3
No files matched your search
@@ -55,7 +55,7 @@ Area `BO`, babyboo's id scheme: `40000000 BO_ROOT` (type R), `40700000 BO_USERS`
|
||||
|
||||
### 7. Roles shown
|
||||
|
||||
The role list hides `ROLE_MEMBER`. The local seed drops Tastefully's business roles (KYC, merchant, staff and the rest) and keeps `ROLE_SUPER_ADMIN` (1), `ROLE_ADMIN` (2) and `ROLE_MEMBER` (3).
|
||||
The role list hides `ROLE_MEMBER` and `ROLE_ADMIN` (id 2, attached to every admin by `findUserByToken` and ignored by the module check). The local seed drops Tastefully's business roles (KYC, merchant, staff and the rest) and keeps `ROLE_SUPER_ADMIN` (1), `ROLE_ADMIN` (2) and `ROLE_MEMBER` (3).
|
||||
|
||||
### 8. Portal cut-down
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ Admins with the Roles module define roles and choose which back-office modules e
|
||||
|
||||
### Requirement: Role list and edit
|
||||
|
||||
The system SHALL let an admin with `BO_ROLES` list, create and rename admin roles. Role names SHALL be unique. The member role SHALL NOT appear in the list.
|
||||
The system SHALL let an admin with `BO_ROLES` list, create and rename admin roles. Role names SHALL be unique. The member role and `ROLE_ADMIN` SHALL NOT appear in the list (`ROLE_ADMIN` is attached to every admin automatically and grants no modules).
|
||||
|
||||
#### Scenario: Create role
|
||||
|
||||
@@ -23,7 +23,7 @@ The system SHALL let an admin with `BO_ROLES` list, create and rename admin role
|
||||
|
||||
### Requirement: Role permissions
|
||||
|
||||
The system SHALL let an admin with `BO_ROLES` choose, for a role, which back-office modules it grants, shown as the module tree. Saving SHALL replace the role's module grants with the chosen set. The super admin role's grants SHALL NOT be editable.
|
||||
The system SHALL let an admin with `BO_ROLES` choose, for a role, which back-office modules it grants, shown as the module tree. Saving SHALL replace the role's module grants with the chosen set. The grants of the super admin role and of `ROLE_ADMIN` SHALL NOT be editable.
|
||||
|
||||
#### Scenario: Grant Users module
|
||||
|
||||
|
||||
Reference in new issue
Block a user