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
293 stars 143 forks source link

Add the option to associate documents with regions/districts/communties #4273

Open DavidBaldsiefen opened 3 years ago

DavidBaldsiefen commented 3 years ago

Situation Description

Especially in Germany, required documents for local health processes (e.g. quarantine orders) can vary greatly from community to community. The current document template engine always makes all documents available to every user, which can lead to

  1. great amounts of documents available to each user, where a single SORMAS-instance is responsible for many regions/districts/communities
  2. users potentially using the wrong template when generating documents

Feature Description

Allow templates to be associated with specific regions/districts/communties upon upload. Each user should only be able to access templates associated with his/her region/district/community. It should still be possible to upload templates without any region information. Those templates would then be available to everyone.

Additional Information

This issue is based on a user request and especially relevant for Germany.

stephan-2 commented 3 years ago

Städte und Gemeinden sind in einigen Bundesländern für die schriftlichen Quarantäneanordnungen zuständig. Sie sollten nur Zugriff auf eigene Dokumentvorlagen erhalten.