mirror of
https://github.com/beilunyang/moemail.git
synced 2026-09-09 01:06:37 +08:00
feat: Add configuration management for default user roles and permissions
This commit is contained in:
@@ -10,6 +10,7 @@ export const PERMISSIONS = {
|
||||
MANAGE_EMAIL: 'manage_email',
|
||||
MANAGE_WEBHOOK: 'manage_webhook',
|
||||
PROMOTE_USER: 'promote_user',
|
||||
MANAGE_CONFIG: 'manage_config',
|
||||
} as const;
|
||||
|
||||
export type Permission = typeof PERMISSIONS[keyof typeof PERMISSIONS];
|
||||
|
||||
Reference in New Issue
Block a user