Feature: Limit leave types to positions, roles and personal data
Description
Leave types gain the eligibility kinds job, job, gender, marital 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 not. list returns a label in the reader's language.
Impact
Clients that matched the violation code not 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.