Appearance
HR Policy
hrms.policy
Fields
Every record also has id, created_at and updated_at.
| Field | Label | Type | Rules |
|---|---|---|---|
policy_name | policy name | text | required |
file | file | file | required |
active | active | check | default true |
Permissions
| Role | Can |
|---|---|
hrms:admin | read, create, update, delete |
hrms:manager | read |
hrms:payroll | read |
hrms:employee | read |
API
http
GET /api/hrms/policy?<field>=<value>&limit=100&offset=0
POST /api/hrms/policy
GET /api/hrms/policy/:id
PATCH /api/hrms/policy/:id
DELETE /api/hrms/policy/:id