---
title: "Feature: Give roles from directory groups"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1791333081@main"
source: "Changelog/1.0.0/Feature-1791333081-GiveRolesFromDirectoryGroups.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: Give roles from directory groups {#feature-1791333081}

## Description {#description}

A directory provider's role mapping now names directory groups by their DN for the roles `hr` and `admin`. At
every login and every sync, a linked account holds the role while its entry is in one of the groups, in Active
Directory also through nested groups, and loses it when it is in none; the person and the admins are notified. A
role whose list of groups is empty is not mapped, and `manager` never is.

## Impact {#impact}

A withdrawal that would leave the company without an HR or admin is refused; the run counts it in
`roleRefusals` and the admins are notified (`security.ldapSyncFailed`).
