Skip to main content

Onboarding & Offboarding Permissions and Access

Summary

The client uses module features, permission names and normalized roles to control navigation and protected routes. These checks improve UX but do not replace server-side authorization, tenant scoping or record-scope rules.

Audience

Lifecycle users, security reviewers, QA and support.

Reference Content

Surface or actionVerified client behaviorAuthoritative boundary
Offers, Onboarding, Recruitment ReportsTalent-menu entries require Recruitment visibility and recruitment-oriented rolesRouted Recruitment/compatibility authorization
Recruitment dashboardAllows recruiter, HR administrator and HR manager roles in its navigation definitionReport and workspace endpoints
Exit routeProtected under HR Operations permissions, including self/team/all exit scopesHR Operations controller policies and tenant/employee scope
Employee exit viewShown when the signed-in user is employee-only; uses the current employee identityBackend self-scope
Exit approvals and access revokeShown to non-employee-only usersBackend manager/admin and permission decisions
Public offer responseDoes not require the authenticated application shellPossession and validity of the opaque action link plus server rules

The exit page derives its employee-only presentation from user data stored by the client. A mixed-role user may receive the privileged presentation. This is not proof that a privileged mutation will be allowed; the server must reject unauthorized requests.

Tenant and subject identifiers are supplied or inferred across the request chain. Support staff should diagnose absence or denial without copying those identifiers into public documentation or tickets. Never infer permission from a visible button, hidden menu item or successful page load.

Source References

  • UI/salary-ui/apps/client-hrms-portal/src/components/AppLayout.tsx
  • UI/salary-ui/apps/client-hrms-portal/src/utils/ProtectedRoute.tsx
  • UI/salary-ui/apps/client-hrms-portal/src/pages/hr/HrOperationsPage.tsx
  • microservices/src/employee-service/Program.cs

See Also

Keywords

  • Authorization
  • Route guard
  • Tenant scope

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-20
  • Review cycle: Quarterly