.. include:: /Includes.rst.txt .. _feature-1791254374: ================================================== Feature: Restrict the punch methods of an employee ================================================== Description =========== HR restricts the punch methods of an employee (web, app, terminal, any subset) on the tab :guilabel:`Punch methods` of the employee record; without an own setting, the company's default punch methods apply. A punch through a method that is not allowed is refused with 403 and the problem type ``/problems/punch-method-not-allowed``, and ``getMyClock`` warns ``punchMethodNotAllowed`` to that client. Corrections, imports and automatic clock-outs are no punch methods and stay possible. A package now adds actions to another package's screen through a ``ScreenActionProvider``, so a tab on the employee record can be offered only to the actors of its operations. Impact ====== The new operations ``getEmployeePunchMethods`` and ``updateEmployeePunchMethods``. Run the database migrations. .. index:: package:adsum-attendance, package:adsum-core