---
title: "Bugfix: Roles of the import are granted however the account arises"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:bugfix-1793060685@main"
source: "Changelog/1.0.0/Bugfix-1793060685-ImportedRolesAreGrantedForEveryInvitation.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Bugfix: Roles of the import are granted however the account arises {#bugfix-1793060685}

## Description {#description}

The roles that `roles.yaml` maps for an imported employee were granted only when the account was created by
`app:migration:horilla:invite-users`. An employee HR invited through the normal invitation had only the
`employee` role and had to be granted the others by hand. The roles are now granted, once, whenever an imported
employee gets an account. `invite-users --employee=<id>` invites a single imported employee.

## Impact {#impact}

The roles are read from the Horilla source when the account is created. Where the source is not reachable at that
time, the account gets the `employee` role only, as before.
