feat: add settings page with navigation and access control updates
This commit is contained in:
@@ -6,7 +6,8 @@ export const DEFAULT_APP_VIEW_ORDER = [
|
||||
'chat',
|
||||
'policies',
|
||||
'audit',
|
||||
'employees'
|
||||
'employees',
|
||||
'settings'
|
||||
]
|
||||
|
||||
const ALWAYS_VISIBLE_VIEWS = new Set(['workbench', 'requests', 'chat'])
|
||||
@@ -15,7 +16,8 @@ const VIEW_ROLE_RULES = {
|
||||
approval: ['approver'],
|
||||
policies: ['manager'],
|
||||
audit: ['auditor'],
|
||||
employees: ['manager']
|
||||
employees: ['manager'],
|
||||
settings: ['manager']
|
||||
}
|
||||
|
||||
function normalizedRoleCodes(user) {
|
||||
|
||||
Reference in New Issue
Block a user