.. include:: /Includes.rst.txt .. _feature-1791291405: ======================================================== Feature: Restrict leave by job position and except types ======================================================== Description =========== A restricted period may name job positions (``jobPositionIds``) beside departments and locations, and may apply to every leave type except some (``excludedLeaveTypeIds``) instead of listing types. The dimensions now combine: any value of one dimension matches, every filled dimension has to match, and an empty one matches everybody. A sickness type in either list is refused with ``sicknessNeverRestricted``, both lists together with ``typesOrExcluded``. Impact ====== A period naming departments and locations now applies to employees in both, no longer in either. Both new lists are optional in the input and empty when left out. .. index:: API, Frontend, package:adsum-leave