mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Prometheus: Use correct datasources:write permission (#87454)
The datasources:edit permission does not exist and should have been write to begin with.
This commit is contained in:
@@ -44,25 +44,25 @@
|
||||
"method": "POST",
|
||||
"path": "/rules",
|
||||
"reqRole": "Editor",
|
||||
"reqAction": "datasources:edit"
|
||||
"reqAction": "datasources:write"
|
||||
},
|
||||
{
|
||||
"method": "DELETE",
|
||||
"path": "/rules",
|
||||
"reqRole": "Editor",
|
||||
"reqAction": "datasources:edit"
|
||||
"reqAction": "datasources:write"
|
||||
},
|
||||
{
|
||||
"method": "DELETE",
|
||||
"path": "/config/v1/rules",
|
||||
"reqRole": "Editor",
|
||||
"reqAction": "datasources:edit"
|
||||
"reqAction": "datasources:write"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/config/v1/rules",
|
||||
"reqRole": "Editor",
|
||||
"reqAction": "datasources:edit"
|
||||
"reqAction": "datasources:write"
|
||||
}
|
||||
],
|
||||
"includes": [
|
||||
|
||||
Reference in New Issue
Block a user