Benefits Guides has two routes: the admin view atDocumentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
/hr/benefits/guides (requires hr.benefits.admin) and the employee self-service view at /hr/my-benefits/guides (no explicit permission gate). Alternate route: /hr/my-benefits/guides.
Overview
Admin view (BenefitsGuidesAdminPage at /hr/benefits/guides): HR admins can upload new guide PDFs using BenefitsGuideUploader, associating them with optional enrollment periods. Uploaded guides are shown as BenefitsGuideCard components in a grid. Admins can preview a guide in a PDF viewer dialog, toggle its active/inactive status, or delete it (with confirmation dialog). Deletion removes the file from storage and the record.
Employee view (BenefitsGuidesPage at /hr/my-benefits/guides): Employees browse only active guides. No upload or admin actions are available.
Who it’s for
/hr/benefits/guides—hr.benefits.admin(HR benefits administrators)/hr/my-benefits/guides— No explicit permission gate (employee self-service)
Before you start
- Admin:
hr.benefits.adminpermission required to manage guides. - Both: guides must exist in the system for the list to be non-empty.
Steps
Upload a guide
Use the
BenefitsGuideUploader to select a PDF, set a title, and optionally link to an enrollment period.Key concepts
| Term | Meaning in code |
|---|---|
BenefitsGuide | Guide record with id, title, storage_path, is_active, optional enrollment period link |
BenefitsGuideUploader | Upload component accepting PDF files |
is_active | Flag controlling employee visibility of the guide |
Related
Human Resources
Human Resources core overview.
Governance & parity
Documentation coverage and governance.
This page documents shipped product behavior. It is not medical, legal, or
billing advice. Verify against your organization’s policies and applicable
regulations before using it for clinical, compliance, or billing decisions.
Protected health information (PHI) shown in the product is governed by your
tenant’s access controls and is never exposed in this documentation.
Documentation sources
Documentation sources
- src/routes/hr.tsx
- src/routes/hr/benefits-routes.tsx
- src/cores/hr/benefits/pages/admin/BenefitsGuidesAdminPage.tsx
- src/cores/hr/benefits/hooks/useBenefitsGuides.ts