Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The delete button is visible without the right EXTERNAL_MESSAGE_DELETE #10848

Closed
KristinaBorch opened this issue Nov 7, 2022 · 0 comments · Fixed by #10856
Closed

The delete button is visible without the right EXTERNAL_MESSAGE_DELETE #10848

KristinaBorch opened this issue Nov 7, 2022 · 0 comments · Fixed by #10856
Assignees
Labels
bug An error or misbehavior of an existing feature (ticket type) laboratory Samples, pathogen tests and lab messages major A functional requirement is incorrect or incomplete, ... (Severity for bugs/defects) qa-verified Issue has been tested and verified by QA vaadin-app Affects the Vaadin application

Comments

@KristinaBorch
Copy link

KristinaBorch commented Nov 7, 2022

Bug Description

When configuring a user role without the right EXTERNAL_MESSAGE_DELETE the delete button is visible. When pressing the button a new window to confirm the deletion appears, but when clicking yes, nothing happens or the page results in endless loading. Same behavior happens when trying to delete the message via the bulk edit mode.

Steps to Reproduce

  1. Configure user role without the right EXTERNAL_MESSAGE_DELETE
  2. Login with user role from step 1
  3. Open Message Directory
  4. Click on the eye symbol for an unprocessed message
  5. look for the delete button and press it

Expected Behavior

The delete button is not visible when the user does not have the right EXTERNAL_MESSAGE_DELETE.

Screenshots

System Details

  • Device:
  • SORMAS version: 1.76.0 & 1.76.2
  • Android version/Browser:
  • Server URL: Schnischu & 1402
  • User Role:

Additional Information

@KristinaBorch KristinaBorch added the bug An error or misbehavior of an existing feature (ticket type) label Nov 7, 2022
@JaquM-HZI JaquM-HZI added this to the Sprint 120 - 1.77.0 milestone Nov 7, 2022
@dinua dinua self-assigned this Nov 7, 2022
dinua added a commit that referenced this issue Nov 8, 2022
@MateStrysewske MateStrysewske added laboratory Samples, pathogen tests and lab messages vaadin-app Affects the Vaadin application major A functional requirement is incorrect or incomplete, ... (Severity for bugs/defects) labels Nov 8, 2022
@AndyBakcsy-she AndyBakcsy-she self-assigned this Nov 8, 2022
@AndyBakcsy-she AndyBakcsy-she added the qa-verified Issue has been tested and verified by QA label Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error or misbehavior of an existing feature (ticket type) laboratory Samples, pathogen tests and lab messages major A functional requirement is incorrect or incomplete, ... (Severity for bugs/defects) qa-verified Issue has been tested and verified by QA vaadin-app Affects the Vaadin application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants