---
title: "Feature: Restrict leave by job position and except types"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1791291405@main"
source: "Changelog/1.0.0/Feature-1791291405-RestrictLeaveByJobPositionAndExceptTypes.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: Restrict leave by job position and except types {#feature-1791291405}

## Description {#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 {#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.
