SORMAS-Project
SORMAS-Project copied to clipboard
Implement missing features for Campaign form in order to be consistent with other entities
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).
Besides the Delete, Discard, Save buttons the following buttons should also appear:
- ARCHIVE -> if the user has CAMPAIGN_FORM_DATA_ARCHIVE right and the campaign form is not already archived
- 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.
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
- [ ] Working relevanceStatusFilter on Campaign Data with Active/Archived/Deleted/All items
- [ ] Added Archive/Dearchive button in Data Form (based on the conditions from Problem description)
- [ ] An archived campaign form should not be accessible by URL without CAMPAIGN_FORM_DATA_VIEW_ARCHIVED right
Implementation Details
No response
Mockups
No response
Additional Information
No response