mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-05-03 18:24:53 +00:00
code: nextjs,frontends,session (14 files)
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
/**
|
||||
* UserRole - User permission levels in MetaBuilder
|
||||
* @description Five-level permission hierarchy
|
||||
* @description Six-level permission hierarchy
|
||||
* - 'public': Guest access (read-only)
|
||||
* - 'user': Regular user access
|
||||
* - 'moderator': Moderation workspace
|
||||
* - 'admin': Tenant administrator
|
||||
* - 'god': Power user with system configuration access
|
||||
* - 'supergod': System administrator with full access
|
||||
*/
|
||||
export type UserRole = 'public' | 'user' | 'admin' | 'god' | 'supergod'
|
||||
export type UserRole = 'public' | 'user' | 'moderator' | 'admin' | 'god' | 'supergod'
|
||||
|
||||
/** AppLevel - Numeric representation of permission levels (1-5) */
|
||||
export type AppLevel = 1 | 2 | 3 | 4 | 5
|
||||
/** AppLevel - Numeric representation of permission levels (1-6) */
|
||||
export type AppLevel = 1 | 2 | 3 | 4 | 5 | 6
|
||||
|
||||
/**
|
||||
* User - System user account
|
||||
|
||||
Reference in New Issue
Block a user