Feature: Company policies with their audience
Description
HR writes company policies with create, update, publish and archive,
and deletes drafts with delete. A policy has a title and a body per language, with the formatting of HR
notes, and up to 20 files: PDF, PNG, JPEG or WebP, never SVG. It is addressed to everyone or to employees,
departments (optionally with their sub-departments), positions and locations.
list and get show an employee the published policies addressed to them in their
language. Whether someone belongs to the audience is decided on every read from their employment today, so a person
who changes department sees the policies of the new one from that day without anyone saving the policy.
Impact
Files of policies are stored below var/; include the directory in backups.