grafana / grafana

The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
https://grafana.com
GNU Affero General Public License v3.0
60.72k stars 11.61k forks source link

Actionsets: Fix downgrade of permission to add the actionset permission #87328

Closed eleijonmarck closed 1 week ago

eleijonmarck commented 2 weeks ago

why We have an issue for downgrading a role from Editor -> Viewer where we do not have any missing actions when creatingPermissions.

what This checks the missingPermissions to be empty and if we are using actionSets, we will write a actionset.

https://github.com/grafana/identity-access-team/issues/675