Skip to main content

Workflow Permissions & Visibility

Verified layers

LayerVerified ruleBoundary
Operations sidebarAdmin/manager audience, selected manager/admin roles, and any eligible Workflow/settings valuePresentation only
Settings sidebarAdmin audience, HR-admin role and any eligible Workflow/settings valuePresentation only
Route guardAuthenticated tenant session and any eligible Workflow/settings valueDoes not repeat role/audience check
Workflow endpointsNo authorization policy appliedFoundation gap
Task queryPending tasks assigned to caller email or any caller roleQuery-level ownership filter
PersistenceTenant query filters and required tenant contextTenant isolation

The service registers authentication middleware, but its policy catalog is empty and the Workflow endpoint group does not require authorization. Tenant headers/claims and caller identity therefore need a trusted ingress boundary that is not verified in this repository path.

Requires Confirmation

Authoritative permissions, trusted ingress, role normalization, author-versus-approver separation and endpoint authorization rollout require confirmation and security review.

Source References

  • UI/salary-ui/apps/client-hrms-portal/src/components/AppLayout.tsx
  • UI/salary-ui/apps/client-hrms-portal/src/utils/ProtectedRoute.tsx
  • microservices/src/workflow-service/Api/Policies.cs
  • microservices/src/workflow-service/Api/WorkflowEndpoints.cs
  • microservices/src/workflow-service/Infrastructure/Persistence.cs
  • microservices/src/workflow-service/Infrastructure/WorkflowDbContext.cs

See Also

Keywords

Workflow permissions, visibility, authorization, tenant isolation.

Revision Information

Draft source-backed documentation reviewed on 2026-07-20; next quarterly review is 2026-10-20.