---
title: "Feature: Limit leave types to positions, roles and personal data"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1791273902@main"
source: "Changelog/1.0.0/Feature-1791273902-LimitLeaveTypesToPositionsRolesAndPersonalData.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: Limit leave types to positions, roles and personal data {#feature-1791273902}

## Description {#description}

Leave types gain the eligibility kinds `jobPosition`, `jobRole`, `gender`, `maritalStatus` and
`nationality`, each with a list of allowed values. The personal kinds are evaluated by the system only: they are
read for the decision and never returned, a refused request names only the kind, and empty data never passes a
condition. A refused request now carries one violation per failed condition, coded `eligibility.<kind>`, instead of
the general `notEligible`. `listLeaveEligibilityConditionKinds` returns a `label` in the reader's language.

## Impact {#impact}

Clients that matched the violation code `notEligible` match `eligibility.<kind>` instead. Marital status and
nationality are not recorded on employees yet, so conditions on them are never met until the employee record keeps
them.
