camunda / camunda-bpm-platform

Flexible framework for workflow and decision automation with BPMN and DMN. Integration with Quarkus, Spring, Spring Boot, CDI.
https://camunda.com/
Apache License 2.0
4.11k stars 1.55k forks source link

Account page - Delete action - Missing permission error don't show up. #3735

Closed gbetances089 closed 1 year ago

gbetances089 commented 1 year ago

Environment (Required on creation)

Camunda v7.20.0-SNAPSHOT

Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket)

Think that with the introduction of 3692 we are now not showing the warning for missing Deletion permission.

Steps to reproduce (Required on creation)

1- Create a user foo 2- Create an auth for this user under User and exclude the Delete action. 3- Log in as foo 4- Delete any other user.

Observed Behavior (Required on creation)

No error message shows if the user try to delete another user.

Video:

https://github.com/camunda/camunda-bpm-platform/assets/2312478/d79df29e-cbd0-400a-9c60-e38c788ad924

Expected behavior (Required on creation)

After the popup is close, the warning msg is displayed as the image below.

image

Root Cause (Required on prioritization)

Solution Ideas

Hints

Think this is an issue because 3692 since the error does show in other pages that don't contain this new Warning popup.

Links

Link of the account page - http://localhost:8080/camunda/app/admin/default/#/users/{username}?tab=account

Breakdown

### Pull Requests
- [ ] https://github.com/camunda/camunda-bpm-platform/pull/3742

Dev2QA handover

gbetances089 commented 1 year ago

Verified on 7.20 master branch

Image