Skip to content

HR

View as Markdown

The HR app keeps your employee records, their reporting lines, their pay and their leave. It is built on the same pieces as any other app in your workspace, so everything here also works through the API, MCP and CLI.

HR home: headcount today and at the end of last month, leave waiting for approval, headcount by department and by employment type, and the list of leave waiting for approval

Area What you get
Employees Name, work email, login, manager, job title, position, department, location, employment type, FTE, status, start and end dates, pay, contact and personal details
Positions and locations The jobs and work locations employees point at. Departments come from the People app
Dated history Job, employment and pay changes take effect on a date, keep their history and can be corrected. See Dated changes and corrections
Reporting lines Each employee’s manager. Managers see the people below them, two levels down for approvals
Leave Leave types, yearly balances with monthly accrual, and requests that the employee’s manager approves. See Leave and approvals
Reports The org chart and headcount on a date, and the payroll export
My HR Each employee’s own page: their record, balances and requests. See Self-service
  1. As an owner or workspace admin, open App Store › HR and select Install. HR needs the People app (departments live there): if your workspace doesn’t have it yet, the Store says so and installs People first when you confirm. HR seeds four leave types: Annual leave (15 days, accrues monthly), Sick leave (30), Personal leave (3) and Unpaid leave. See The App Store.
  2. Nothing else to apply: HR ships its access model (permission sets, roles and restrictions) in the app, and the install creates it. Its spec store addresses start with hr/, for example hr/role/hr_admin. See Access in the manifest.
  3. In Settings › Access › Assignments, give your HR team the HR admin role, anyone who only needs to look the HR viewer role, and everyone else HR employee.
  4. Add your locations and positions, then your employees. Enter each hire with their start date, so their history starts on the right day. Link each employee record to the person’s login in the Login field: My HR, self-service and the manager’s view all follow that link.
  5. Fill in each employee’s Manager. That reporting line is what makes someone a manager. There is no separate manager role to assign.

An HR admin is also an administrator of the HR app: they can change the HR permission sets, roles and restrictions under Access: HR without being a workspace admin. They can’t grant anything outside the HR app.

HR admin HR viewer Manager Employee Workspace admin and owner
Directory fields (name, job, department, manager, location, work email, phone) everyone, edit everyone everyone everyone everyone
Salary, currency, pay frequency clear, edit salary masked, can reveal with a reason everyone below them (direct reports, their reports, and so on) in clear, with the pay history; nobody else’s their own, read only masked; in clear on their own record and below them in the reporting line, read only
Home address, personal email, date of birth, emergency contact edit read hidden their own, edit their contact details read
Leave requests all, edit all their reports’ (dates, type, days) their own all
Leave reason and medical note read and edit on their own requests only on their own requests only on their own requests: they enter them, and can edit them until the request is decided on their own requests only
Decide leave yes, not their own no their reports, up to two levels, not their own no as an admin, not their own
Payroll export yes no no no yes, without pay amounts

A masked salary shows as ••••• with a Masked badge. An HR viewer can click Reveal, give a reason, and see the figure; every reveal is written to the access audit with the reason. Managers, workspace admins and owners can’t reveal.

Pay is for HR, the employee and the managers above them

Section titled “Pay is for HR, the employee and the managers above them”

Pay is covered by a restriction that also applies to workspace admins and owners: salary is masked for everyone except people who hold HR’s pay capability (hr.comp, the HR admin role), the employee on their own record, and everyone above the employee in the reporting line: their manager, their manager’s manager, and so on up. A second restriction keeps pay read-only for everyone without hr.comp, so nobody but HR changes pay, their own included.

The rule is about the reporting line, not the seat: an owner or IT admin who manages people reads the pay of everyone below them like any other manager. An owner who is also the CEO, at the top of the line, reads everyone’s pay. Nobody reads their own manager’s pay, or the pay of a team next to theirs.

When the reporting line changes, access follows it straight away. Move someone to another manager and the new manager, and everyone above them, read the person’s pay and its whole history, including the versions from before they became manager. The old manager, and anyone above them who isn’t above the new one, no longer do. That’s the usual HR model. The reporting line isn’t dated yet, so the switch happens when HR saves the change, not on a future date, and an “as of” read uses today’s reporting line. A reporting line can’t loop: saving a manager who reports to the person is refused.

To give managers the pay of their direct reports only, add "depth": { "max": 1 } to the reporting-line condition of the hr.manager pay grant and of the hr.pay_hr_only restriction (see Hierarchies).

The leave reason and medical note are for the employee and HR

Section titled “The leave reason and medical note are for the employee and HR”

A restriction that also applies to workspace admins and owners hides the reason and the medical note from everyone except people with the hr.medical capability (the HR admin role) and the employee on their own requests. The employee enters both when they request leave and can change them until the request is approved, rejected or cancelled. Their manager, HR viewers, workspace admins and owners don’t see them.

Both rules are restrictions with an Except on rows where condition. See Restrictions and the HR example.

A manager's view of an employee: job, employment and pay sections, with the salary masked

To check what someone can see and why, see Why can I see this?.