Skip to main content

Employee Permissions Reference

Summary

Employee access combines frontend feature evidence, monolith access scope, and extracted-service named policies whose current enforcement is authentication-only.

Audience

  • Security/access reviewers, HR administrators, developers, QA/support engineers, and architects

Reference Content

CapabilityAuthenticationAuthorization evidenceTenantUI guardAPI enforcementStatus / confirmation
Open Employee pageRequiredWorkforce plus existing labor feature tokenRequired client tenantRoute/menu guardList API also scopedImplemented; role governance requires confirmation
List employeesRequiredMonolith accessible-employee scopeRequiredPage route onlyResult narrowed by access scopeImplemented
View one employeeRequiredMonolith employee access checkRequiredSelection from loaded listForbidden outside scopeImplemented
Create/update/statusRequiredMonolith tenant-wide accessRequiredNo component-level mutation guardTenant-wide scope checkImplemented in monolith
Extracted view/create/update/deleteRequiredNamed Employee policies existRequiredUI not cut overCurrent policy registration requires authenticated userTransitional; permission claim enforcement requires confirmation
Manage department/designationRequiredNamed extracted policy placeholdersRequiredSeparate organization route rulesCurrent policy registration authentication-onlyTransitional
Generate profile documentsRequiredUI role/feature check plus document APIRequiredComponent-level conditional actionDocument API owns enforcementRequires confirmation across services

This is not a complete role catalog. Navigation role labels do not replace API authorization.

Source References

  • UI/salary-ui/apps/client-hrms-portal/src/components/AppLayout.tsx
  • UI/salary-ui/apps/client-hrms-portal/src/utils/ProtectedRoute.tsx
  • Controllers/LaborController.cs
  • microservices/src/employee-service/Api/Endpoints.cs
  • microservices/src/employee-service/Program.cs

See Also

Keywords

  • Employee permissions
  • access scope
  • route guard

Revision Information

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