grafana/public/app/features/alerting
gotjosh 501e921b2b
Alerting: Allow created by to be manually set when there's no creator for silences (#55952)
* Alerting: Allow created by to be manually set when there's no creator

Grafana has a mode that allows unauthenticated interaction, typically the created by field of a silence is inferred from the current logged user. When this is not present, the field is left black and thus the silence creation fails.

This allows us to set the created by when we is not possible to infer it from the current user.

* Show created by input field only if user is not logged

* Add test for new logic with createdBy input field

Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com>
2022-10-03 10:56:27 +02:00
..
components Chore: Remove empty and leftover files (#55757) 2022-09-26 11:33:07 -04:00
partials Chore: Migrates remaining Angular modals to React (#33476) 2021-04-28 15:22:28 +02:00
state Alerting: Fix alert panel instance-based rules filtering (#52583) 2022-07-22 12:52:56 +02:00
unified Alerting: Allow created by to be manually set when there's no creator for silences (#55952) 2022-10-03 10:56:27 +02:00
utils Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
AlertHowToModal.tsx enable img-redundant-alt rule (#55833) 2022-09-27 10:26:32 -04:00
AlertRuleItem.test.tsx Chore: Remove remaining IconName type assertions (#54658) 2022-09-06 09:15:36 +01:00
AlertRuleItem.tsx Chore: Remove remaining IconName type assertions (#54658) 2022-09-06 09:15:36 +01:00
AlertRuleList.test.tsx convert AlertRuleList test to RTL (#55045) 2022-09-13 09:29:29 +01:00
AlertRuleList.tsx TopNav: New page layouts (#51510) 2022-07-06 17:00:56 +02:00
AlertTab.tsx Chore: Remove remaining IconName type assertions (#54658) 2022-09-06 09:15:36 +01:00
AlertTabCtrl.test.ts Alerting: Fixes so notification channels are properly deleted (#31040) 2021-02-09 15:29:50 +01:00
AlertTabCtrl.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
AlertTabIndex.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
EditNotificationChannelPage.tsx Update a few more pages to use navId instead of navModel from store (#55342) 2022-09-19 13:21:41 +02:00
FeatureTogglePage.tsx TopNav: New page layouts (#51510) 2022-07-06 17:00:56 +02:00
getAlertingValidationMessage.test.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
getAlertingValidationMessage.ts Dashboard: replace datasource name with a reference object (#33817) 2021-10-29 10:57:24 -07:00
NewNotificationChannelPage.tsx TopNav: New page layouts (#51510) 2022-07-06 17:00:56 +02:00
NotificationsListPage.tsx TopNav: New page layouts (#51510) 2022-07-06 17:00:56 +02:00
routes.tsx Navigation: use navId and pageNav on Alerting - Contact Points page (#54451) 2022-09-06 16:25:07 +02:00
StateHistory.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
TestRuleResult.test.tsx convert TestRuleResult to RTL (#53953) 2022-08-19 15:00:53 +01:00
TestRuleResult.tsx GrafanaUI: Add success state to ClipboardButton (#52069) 2022-07-20 10:33:46 +01:00