.. include:: /Includes.rst.txt .. _feature-1791226961: ============================================================================ Feature: Publish rosters within the planner's scope and log each publication ============================================================================ Description =========== ``publishRosterEntries`` publishes only the drafts of employees the planner may plan, optionally narrowed to a department (``departmentId``, by the employments on the first day) or a list of employees, over a range of at most 92 days. Every publication with drafts is logged with planner, instant, range, department filter and the numbers of employees and entries; ``listRosterPublications`` shows HR every publication and a manager their own. Each employee whose plan changed receives ``roster.published`` once, naming the range. The roster page shows the log in the tab "Publications" and offers the department when publishing. Impact ====== ``publishRosterEntries`` answers 422 for a range longer than 92 days or running backwards, and its answer gains ``employeeCount`` and ``publicationId``. New table ``roster_publication``, new event ``RosterPublished``. .. index:: API, Database, Frontend, package:adsum-working-time