/** * The administrator's permission scopes. * * Lives outside the page because two things now read it: the Profile page * renders it, and Owliver answers "what are my permissions?" from it. One list, * so the panel can never describe a scope the page does not show. */ export const PERMISSIONS = [ { scope: 'Positions', level: 'Full access', detail: 'Create, edit, pause and close roles' }, { scope: 'Candidates', level: 'Full access', detail: 'Screen, advance, decline and hire' }, { scope: 'Talent Pool', level: 'Full access', detail: 'Search, contact and shortlist' }, { scope: 'Analytics', level: 'Read only', detail: 'View reports and export' }, { scope: 'Audit log', level: 'Read only', detail: 'View all platform activity' }, { scope: 'Billing', level: 'No access', detail: 'Restricted to account owners' }, ]; export const LEVEL_TONE = { 'Full access': 'success', 'Read only': 'info', 'No access': 'neutral' }; /** What the Profile page can actually do, for the assistant to point at. */ export const PROFILE_ACTIONS = [ { label: 'Edit profile', detail: 'Change your display name' }, { label: 'Change password', detail: 'Rotate your administrator password' }, { label: 'Manage sessions', detail: 'Review devices signed in to this account' }, { label: 'Two-factor authentication', detail: 'Required for privileged actions' }, { label: 'Owliver workspace', detail: 'Open the contextual panel by default on supported pages' }, { label: 'Compact density', detail: 'Tighter row heights across Admin tables' }, { label: 'Email digest', detail: 'A daily summary of what needs attention' }, ];