.. include:: /Includes.rst.txt .. _feature-1791530102: ============================================================ Feature: Withdrawing penalties, and managers who record them ============================================================ Description =========== A penalty is withdrawn with a reason (``withdrawEmployeePenalty``). It stays in the account as withdrawn, with who withdrew it and when; the records it was for, such as a late arrival, are free for a new penalty. ``PenaltyWithdrawn`` is published once and the employee told through ``employee.penaltyWithdrawn``; a second withdrawal is 409. Managers record penalties for the people in their scope while the company access setting ``managersRecordPenalties`` is on, and withdraw only what they recorded themselves. HR records and withdraws every penalty, including those of packages and the migration; nobody acts on their own penalties. HR lists the penalties of the whole company (``listPenalties``). Impact ====== ``createEmployeePenalty`` is open to managers in scope; with the setting off they get 403 as before. .. index:: API, package:adsum-core