Skip to content

Commit

Permalink
Add grafana-oncall-app.user-settings:read permission to notifications…
Browse files Browse the repository at this point in the history
… receiver role (#4340)

# What this PR does
Adding `grafana-oncall-app.user-settings:read` Notifications Receiver so
that it can use `get_backend_verification_code`

## Which issue(s) this PR closes

Closes [issue link here]

<!--
*Note*: 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

- [ ] 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 May 13, 2024
1 parent b07b140 commit 978d7c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grafana-plugin/src/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"permissions": [
{ "action": "plugins.app:access", "scope": "plugins:id:grafana-oncall-app" },
{ "action": "grafana-oncall-app.notifications:read" },
{ "action": "grafana-oncall-app.user-settings:read" },
{ "action": "grafana-oncall-app.user-settings:write" }
]
},
Expand Down

0 comments on commit 978d7c5

Please sign in to comment.