feat: extended role hierarchy

This commit is contained in:
Björn Fromme
2026-08-06 11:18:38 +02:00
parent dd658bf9d6
commit 3a5895e356
2 changed files with 7 additions and 3 deletions
@@ -51,7 +51,6 @@ class CrmAttributesResponseParser
}
if (self::BPN_CRM_ID_ADMIN === $attribute->id && true === $attribute->selected) {
$roles[] = 'ROLE_ADMIN';
$roles[] = 'ROLE_HOUSE_MANAGER';
}
if (self::BPN_CRM_ID_MANAGER === $attribute->id && true === $attribute->selected) {
$roles[] = 'ROLE_MANAGER';