Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The list of roles should use the same layout as other existing list in openIMIS (claims, insuree ...)

show history will show the user that have a ValidityTo not NULL and in the PAST

on each result line the edit/duplicate/delete button should be present but for the historical ones

double click on line should open the role in edit mode unless this is an historical record then it will be read only

Duplicate button open the “new“ page with the authorities form the “to be duplicated“ record preselected but the name is empty

Role add/edit page

Ideally when reading or editing a Role, each module will have a "box" containing its authorities/rights. In read mode, the box will appear only if at least one of the authority right is selected. The box should be placed according to the screen size (responsive design).

...

the add/edit page will have a save button when name is specified

Name must be unique accross record with ValidityTo not Null

preferred solution to assign a authority to Role in the same way the django admin does

Filter search box is a nice to have

Choose all/remove all are should have

...

Another solution is to show checkboxes grouped per entity and module

...

Open point: Xavier Gillmann (Unlicensed) how to get the string for the rights and module name ? should we use the module configurations json ? will it support standard translation ?

...

‘role_label’: List of ‘lan_code':’display for lang_code'

Solution 2 to retrieve the role (PREFERED)

get the roles that are showed in the django admin, we must be able to retrieve the related INT so we can save them in the database