Skip to content

[BUG] Unable to add cluster:monitor/shards permission to a role #2210

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

Closed
jgough opened this issue Apr 22, 2025 · 1 comment
Closed

[BUG] Unable to add cluster:monitor/shards permission to a role #2210

jgough opened this issue Apr 22, 2025 · 1 comment
Labels
bug Something isn't working triaged v3.0.0

Comments

@jgough
Copy link

jgough commented Apr 22, 2025

What is the bug?
In Dashboards it not possible to add the cluster:monitor/shards permission to a role

Image

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Edit a role
  2. Under Cluster permissions try to add the permission cluster:monitor/shards

Note that an error appears as above: cluster:monitor/shards doesn't match any options

What is the expected behavior?
Able to add the permission

What is your host/environment?

  • OS: docker
  • Version 2.13
  • Plugins: Security Plugin + Custom CSS styling

Additional info
I could not find this permission documented , but came across it when I kept getting a permissions error. I can manually add the permission through the _plugins/_security/api/roles/ API endpoint but not through Dashboards.

Discussion here: https://forum.opensearch.org/t/no-permissions-for-cluster-monitor-shards/24081

@jgough jgough added bug Something isn't working untriaged labels Apr 22, 2025
@cwperks cwperks added v3.0.0 and removed untriaged labels May 6, 2025
@cwperks
Copy link
Member

cwperks commented May 6, 2025

This will be included in the dropdown in 3.0.0: #2223

@cwperks cwperks added the triaged label May 6, 2025
@cwperks cwperks closed this as completed May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triaged v3.0.0
Projects
None yet
Development

No branches or pull requests

2 participants