Grant the static super-admin mobile full ALL_RIDS and move slider into ثابتها permissions.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
* gated by `users.isSuperAdmin` in place instead.
|
||||
*
|
||||
* Keep in step with SUPER_ADMIN_RIDS in apps/api/src/modules/auth/super-admin.ts.
|
||||
* Login/JWT for that mobile grants the full ALL_RIDS set on the API side; this
|
||||
* set is only the tree-filter used when editing other roles' permissions.
|
||||
*/
|
||||
export const SUPER_ADMIN_RIDS: ReadonlySet<string> = new Set([
|
||||
'persons.create.single',
|
||||
|
||||
Reference in New Issue
Block a user