.. include:: /Includes.rst.txt .. _bugfix-1793060685: ================================================================== Bugfix: Roles of the import are granted however the account arises ================================================================== 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=`` invites a single imported employee. 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. .. index:: Migration, package:adsum-migration