An exclamation mark at role management screen does not appear for a user without a home facility

Description

I've noticed that

Reproduction steps:

  1. Login as the System Administrator (e.g. administrator).

  2. Create a user without a home facility and without any user roles.

  3. Go to the Administration → Users and search for a new user.

  4. Click the "Roles" button next to the just-created user.

  5. Select administrator (a user with roles that have Supervisory node empty) in the "Import Roles" modal and click the "Import Roles" button.

Expected results:

The roles in the "Supervision" tab without the supervisory node should be marked with an exclamation mark.

If you

  1. Click the "Save User Roles" button.

  2. Again click the "Roles" button next to the just-created user.
    then exclamation marks should appear anyway.

Environment

None

Assignee

Unassigned

Reporter

Wojciech Buława

Epic Link

Components

Priority

Minor
Configure