SORMAS-Foundation / SORMAS-Project

SORMAS (Surveillance, Outbreak Response Management and Analysis System) is an early warning and management system to fight the spread of infectious diseases.
https://sormas.org
GNU General Public License v3.0
292 stars 140 forks source link

Add follow up visit rights to surveillance user roles #5385

Open maxiheyner opened 3 years ago

maxiheyner commented 3 years ago

Feature Description

Surveillance associated users now have the right to MANAGE_EXTERNAL_SYMPTOM_JOURNALS.

Problem Description

Thus far, surveillance associated users don't have the right to create/edit and export follow-up visits.

Proposed Change

Add the VISIT_CREATE; VISIT_EDIT and VISIT_EXPORT rights to Surveillance Supervisor, Admin Surveillance Supervisor and Surveillance Officer.

bernardsilenou commented 3 years ago

@maxiheyner This sounds as if the user roles are not well assigned. If users need these rights, they can add more roles to the user account

kwa20 commented 3 years ago

@bernardsilenou I think that is the current workaround, however, since there is a follow-up module for cases it would also make sense to give these roles such rights don't you think?

bernardsilenou commented 3 years ago

@kwa20 It make sense to add. However, it was initially design for certain surveillance officer to not do followup activities. @Chinedar can you confirm if there can be any situation that surveillance officers are not suppose to do followup? Is this need still valid? If not then we add this rights by default to SO, if yes then better we go with the combination option.