Access management in openIMIS

Role manangement:

Only super admin (is_admin==True) are able to add all roles, any other user with the authority to create user can only add his own role

  • add a is_admin attribute to interactive user

  • change is_imis_admin in the code by is_admin

  • add on the FE a is admin checkbox, editable only for admins

  • only admin should have db_creator role (or we remove that capacity to all users because too dangerous)

  • only admin should be able to do backup or restore (or we remove that capacity to all users because too dangerous)

Access management dimensions:

How access is checked

for general user:

for affiliated user

Change to be done:

Action upon deletion of an user

all related access CI must be “deleted“ too (flag deleted to True)

Action upon deletion of an external partner

in all case the relation between the users and the external partner must de “deleted“ too

if the users are only related to that given external partner (have no relation to other external partner) then the user must be “deactivated”

Full admin

Every system need super admin to solve issues experienced by other user

change required: