...
The list of roles should use the same layout as other existing list in openIMIS (claims, insuree ...)
Search fields:
Role name
System
blocked
Historical
show history will show the user that have a ValidityTo not NULL and in the PAST
search result
column
Role Name
(String) - text input (orAlternative Language
based on the user setting)Valid From
(Date) - date pickerValid To
(Date) - date pickerSystem
(Boolean) - checkboxBlocked
(Boolean) - checkbox
on each result line the edit/duplicate/delete button should be present but for the historical ones
...
Another solution is to show checkboxes grouped per entity and module
...
Fields:
Role Name
(String) - text input)Alternative Language
(String) - text inputSystem
(Boolean) - checkboxBlocked
(Boolean) - checkbox
(DateValidFrom and To are managed by the backend)
on create:
all fields are editable
on update:
if not system role, all fields are editable
if readonly right or system role: no fields are editable, no save button active
on duplicate
New card is open (like on create) Rights are duplicated but the Role Name and Alternative Language
remain empty
Solution 2 to retrieve the role (PREFERED)
...