Graylog2 / Graylog2/graylog2-server
Dashboards: Misinformation message when user deletes dashboards
- Dominant language
- Java
- Stars
- 8.1k
- Forks
- 1.1k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 217
Description
User with the Manager permissions for the specific Dashboard, can't delete the dashboard. But receives misinformation, first error message and then that dashboard successfully deleted
## Expected Behavior
Don't show Delete button for user with manager permissions, if they are not able to delete dashboard
## Current Behavior
Delete button is available, when user click on it, first error occurs and then that dashboard is successfully deleted.

## Steps to Reproduce (for bugs)
1. Create 2 users with non-admin roles
2. With User 1 go to Dashboards
3. Create a dashboard
4. Share it with User 2, with Manager permissions
5. Login with User 2
6. Go to Dashboards
7. Click More -> Delete
## Your Environment
* Graylog Version: latest master
* Java Version:
* OpenSearch Version:
* MongoDB Version:
* Operating System:
* Browser version:
Contributor guide
Assessment
This issue has not been assessed yet.