From e66fe6717469455a71638dc881ea769cae50dd50 Mon Sep 17 00:00:00 2001 From: Alexander Cherepanov Date: Thu, 1 Jun 2023 16:08:39 +0600 Subject: [PATCH] Fix a bug #1617 with permissions for telegram user settings (#2075) # What this PR does Changes a required role for telegram user settings from Admin to Editor. ## Which issue(s) this PR fixes closes https://github.com/grafana/oncall/issues/1617 ## Checklist - [x] Unit, integration, and e2e (if applicable) tests updated - [ ] Documentation added (or `pr:no public docs` PR label added if not required) - [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not required) --- CHANGELOG.md | 6 ++++++ .../UserSettings/parts/tabs/TelegramInfo/TelegramInfo.tsx | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d79034ed..0c773c37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +### Fixed + +- Fix a bug with permissions for telegram user settings by @alexintech ([#2075](https://github.com/grafana/oncall/pull/2075)) + ## v1.2.34 (2023-05-31) ### Added diff --git a/grafana-plugin/src/containers/UserSettings/parts/tabs/TelegramInfo/TelegramInfo.tsx b/grafana-plugin/src/containers/UserSettings/parts/tabs/TelegramInfo/TelegramInfo.tsx index d90eb7a7..9eb68b46 100644 --- a/grafana-plugin/src/containers/UserSettings/parts/tabs/TelegramInfo/TelegramInfo.tsx +++ b/grafana-plugin/src/containers/UserSettings/parts/tabs/TelegramInfo/TelegramInfo.tsx @@ -40,7 +40,7 @@ const TelegramInfo = observer((_props: TelegramInfoProps) => { return ( {telegramConfigured || !store.hasFeature(AppFeature.LiveSettings) ? (