SORMAS-Project icon indicating copy to clipboard operation
SORMAS-Project copied to clipboard

Add AEFI user rights

Open obinna-h-n opened this issue 2 years ago • 0 comments

Feature Description

Add new user rights related to the new AEFI entity (#12728), as part of epic (#12634), that will allow users with roles having these rights to manage adverse events following immunization.

Added Value/Benefit

These new user rights are needed in order to properly manage AEFI report entities. They should be added as part of the flexible user role module under the Immunization category.

Acceptance Criteria

  • [x] New user rights related to adverse events following immunization have been added as part of the Immunization right group, including appropriate captions and descriptions
    • AEFI_VIEW
    • AEFI_CREATE
    • AEFI_EDIT
    • AEFI_ARCHIVE
    • AEFI_DELETE
    • AEFI_IMPORT (dependent on AEFI_CREATE)
    • AEFI_EXPORT
  • [x] All user rights are dependent on AEFI_VIEW (excluding AEFI_IMPORT)
  • [x] Add these new user rights to the default user roles Admin (all rights), National User (all rights), and National Observer (only view right)
  • [x] Protect methods introduced in #12728 with these rights accordingly
  • [x] A new feature type called AEFI_MANAGEMENT has been added and is disabled by default

Implementation Details

No Response

Additional Information

No Response

obinna-h-n avatar Nov 22 '23 08:11 obinna-h-n