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
291 stars 135 forks source link

Implement missing features for Campaign form in order to be consistent with other entities #13089

Open carina29 opened 2 months ago

carina29 commented 2 months ago

Problem Description

Campaign Data should have a relevanceStatus filter with ACTIVE, ARCHIVED, DELETED, ALL items.

The archive/dearchive of the campaign forms should be independent of the EDIT right ( based on https://github.com/SORMAS-Foundation/SORMAS-Project/issues/11830).

image

Besides the Delete, Discard, Save buttons the following buttons should also appear: 1) ARCHIVE -> if the user has CAMPAIGN_FORM_DATA_ARCHIVE right and the campaign form is not already archived 2) DEARCHIVE -> if the user has CAMPAIGN_FORM_DATA_ARCHIVE and CAMPAIGN_FORM_DATA_VIEW_ARCHIVED (based on the requirements from https://github.com/SORMAS-Foundation/SORMAS-Project/issues/13034) and the campaign form is already archived.

image

Proposed Change

Implement the missing features from Problem Description in order to be consistent with other entities from application.

Added Value/Benefit

Consistency and new features for Campaign Forms.

Acceptance Criteria

Implementation Details

No response

Mockups

No response

Additional Information

No response