mirror of
https://github.com/grafana/grafana.git
synced 2025-01-07 06:33:31 -06:00
170d476bdc
* Remove role requirement for editing silence (instead handled by silence editor displaying error) * Send query params for metadata/access control silence logic * Add new access control types to enum * Add folder-specific checks for silences * Remove filtering in alert manager picker * fix flakey rule viewer test and update permissions helper * Use `returnTo` in rule viewer page * Fix incorrect display of duration * Clean up some mock server behaviour in rule details tests * Tweak styles for silences alerts table * Remove alertmanager picker from silences drawer * Add error if user cannot edit a silence * Show alert rule name in silences table and consume RBAC logic * Update mocks to include RBAC access control logic * Update silences tests * Update silences type to include access control info * Update comment for missing alertmanager * Update mock handlers and query param logic * Tweak query params again * Update access control mock * Revert AM picker fix as user may not have access to Grafana AM * Swap ternary order * Change text for no alert rule targeted * Don't show error alert from RTKQ query and remove alert instance preview in case of error * Add missing translations * Fix test adding missing mock for getting alert rule * Add missing translations in SilencesTable * Add translations autogenerated files * fix allowing edit silence in external alert manager --------- Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com> Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com> |
||
---|---|---|
.. | ||
de-DE | ||
en-US | ||
es-ES | ||
fr-FR | ||
pseudo-LOCALE | ||
pt-BR | ||
zh-Hans | ||
i18next-parser-enterprise.config.cjs | ||
i18next-parser.config.cjs | ||
pseudo.mjs |