Skip to content

Commit

Permalink
Add missing permission to call machine learning plugin (#4983)
Browse files Browse the repository at this point in the history
# What this PR does
- Permission necessary for OnCall to make webhook call to Machine
Learning was missing, this PR adds it.

## Which issue(s) this PR closes

Related to [issue link here]

<!--
*Note*: If you want the issue to be auto-closed once the PR is merged,
change "Related to" to "Closes" in the line above.
If you have more than one GitHub issue that this PR closes, be sure to
preface
each issue link with a [closing
keyword](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests#linking-a-pull-request-to-an-issue).
This ensures that the issue(s) are auto-closed once the PR has been
merged.
-->

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
  • Loading branch information
mderynck authored Sep 4, 2024
1 parent 0ff98c1 commit de40bbb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions grafana-plugin/src/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,10 @@
"action": "plugins.app:access",
"scope": "plugins:id:grafana-labels-app"
},
{
"action": "plugins.app:access",
"scope": "plugins:id:grafana-ml-app"
},
{
"action": "plugins:write",
"scope": "plugins:id:grafana-oncall-app"
Expand Down

0 comments on commit de40bbb

Please sign in to comment.