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

User Role and Rights - A pop-up warning appears for user when changing jurisdiction from Community to None for a used role

Open abrudanancuta opened this issue 2 years ago • 0 comments

Bug Description

A pop-up warning appears for user when changing jurisdiction from Community for a used role

Steps to Reproduce

  1. Have a role created on the jurisdiction level set to Community
  2. Use the role above for a user => at this point on the user edit form, the dropdowns related to jurisdiction appear to be mandatory
  3. Go to Role from step 1 and change his jurisdiction to None
  4. Go to user from step 2 and remove the jurisdiction from the dropdown and let them empty
  5. Save the user
  6. Click yes for the next pop-up which is an information

Expected Behavior

The warning error should not appears, and the user should be saved

Screenshots

Screenshot 2022-08-10 at 16 45 27

System Details

  • Device:
  • SORMAS version: 1.75.0- snapshot
  • Android version/Browser:
  • Server URL:
  • User Role:

Additional Information

Uploading ErrorRoleChange.txt…

abrudanancuta avatar Aug 10 '22 14:08 abrudanancuta