SORMAS-Project icon indicating copy to clipboard operation
SORMAS-Project copied to clipboard

User Role - User right Sormas UI and Rest should be included automatically when selecting a right

Open abrudanancuta opened this issue 2 years ago • 1 comments

Problem Description

A new Role is created with status Enable and some rights for Case management as example. Admin creates a new User with the new Role. At this point the new User created is not able to login because it has not selected the right dor Sormas UI

Proposed Change

There can be 3 solutions:

  1. To automatically select the rights Sormas UI and Rest when at least one of the other rights is selected
  2. To not be able to save the Role without having Sormas UI or Rest selected
  3. To have by default selected this right Sormas UI or Rest when a new Role is created

Acceptance Criteria

Implementation Details

Additional Information

abrudanancuta avatar Aug 03 '22 11:08 abrudanancuta

Alternative Proposal

We should simply get rid of those two user rights. The user rights should be about access to data via the backend and there is no need to care whether a user does this via the web UI or the ReST api (Android, external tools, ...).

MartinWahnschaffe avatar Sep 21 '22 10:09 MartinWahnschaffe