diff --git a/src/User b/src/User new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/User @@ -0,0 +1 @@ + diff --git a/src/constants/role.constant.ts b/src/constants/role.constant.ts new file mode 100644 index 0000000..a700270 --- /dev/null +++ b/src/constants/role.constant.ts @@ -0,0 +1,10 @@ +export const ROLES = { + ADMIN: 'admin', // Full administrative privileges + STUDENT: 'student', // Standard student privileges + BASIC: 'user', // Basic, non-privileged user +} as const; + +export const ROLE_ERRORS = { + FORBIDDEN: 'Access denied: insufficient role permissions.', + UNAUTHORIZED: 'User must be authenticated.', +} as const;