grafana/pkg
Alex Khomenko 33ab410b29
Restore dashboards: Improve permissions (#116266)
* Restore dashboards: Update permissions

* Expand check

* Extract copy

* Simplify checks

* add missing component

* prettier

* RestoreDashboards: Remove delete permission checks

Gate the restore dashboards feature solely by the feature toggle
instead of also checking for dashboard delete permissions. This allows
all users to access the recently deleted page when the feature is enabled.

* Fix BrowseDashboardsPage tests by restoring contextSrv mock

Restore the contextSrv import and hasPermission spy that were
incorrectly removed. These are needed for other permission checks
in the tests, not just the delete permission.
2026-01-30 17:03:57 +02:00
..
aggregator feat(backend): Add QueryChunkedData infrastructure for plugin communication (#116967) 2026-01-28 16:26:11 +00:00
api FS: Add custom favIcon (#117001) 2026-01-30 14:04:15 +01:00
apimachinery auth: bump authlib with changes to BatchCheck (#116485) 2026-01-20 16:55:20 +01:00
apis Fix sqlschemas API endpoint (#116868) 2026-01-27 14:06:55 -05:00
apiserver K8s: Allow cluster scoped resources (#116808) 2026-01-25 22:29:54 -08:00
build fix: modify the grafana dev build (#116872) 2026-01-27 17:14:33 -06:00
bus Hackaton: Add more unit tests, take 3 (#101525) 2025-03-05 08:00:12 +01:00
clientauth Chore: Unify token exchange round trippers - provisioning (#116106) 2026-01-21 11:00:39 +01:00
cmd Grafana Cli: Add admin flush-rbac-seed-assignment command (#116716) 2026-01-22 19:58:18 +00:00
codegen Codegen: Add comment with cue path (#116835) 2026-01-27 10:40:26 +01:00
components DataSources: Improve resource model conversions (#116403) 2026-01-19 08:53:46 +03:00
configprovider Configprovider: Update the interface to propagate errors (#110814) 2025-09-11 17:26:54 +03:00
events Chore: Remove unused bus.Bus events (#110738) 2025-09-08 10:47:16 +00:00
expr SQLSchemas: Move the types to the query types package (#116745) 2026-01-23 17:32:46 +03:00
extensions Extensions: Add file for test-only imports to exclude it from binary (#116746) 2026-01-23 15:28:35 +01:00
generated Chore: Upgrade k8s.io/api v0.34.1 and grafana-app-sdk v0.43.1 (#111009) 2025-09-16 13:35:20 +03:00
ifaces/gcsifaces Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
infra logging: fix db_query_time always reporting zero (#116824) 2026-01-26 13:25:40 +01:00
kinds CustomVariable: support values with multiple properties (json values format) (#113844) 2026-01-07 11:01:03 +01:00
login/social Auth: Cleanup duplicate isGroupMember methods from OAuth connectors (#115786) 2026-01-05 11:35:28 +01:00
middleware logging: fix db_query_time always reporting zero (#116824) 2026-01-26 13:25:40 +01:00
mocks/mock_gcsifaces Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
models Auth: Attach external session info to Grafana session (#93849) 2024-10-08 11:03:29 +02:00
modules refactor(unified): add separate target for search (#117059) 2026-01-30 11:26:21 +00:00
operators Provisioning: use min resync interval in Repo Controller (#117048) 2026-01-29 08:41:39 +01:00
plugins feat(backend): Add QueryChunkedData infrastructure for plugin communication (#116967) 2026-01-28 16:26:11 +00:00
promlib feat(backend): Add QueryChunkedData infrastructure for plugin communication (#116967) 2026-01-28 16:26:11 +00:00
registry Provisioning: use token generation check as a triggering condition (#117118) 2026-01-30 11:09:14 +00:00
semconv Go: Update to 1.25.6 (#116394) 2026-01-16 10:50:12 +01:00
server refactor(unified): add separate target for search (#117059) 2026-01-30 11:26:21 +00:00
services Restore dashboards: Improve permissions (#116266) 2026-01-30 17:03:57 +02:00
setting Unified Storage: Adds search client to be used by storage-api (#117030) 2026-01-29 09:52:01 -06:00
storage refactor(unified): add separate target for search (#117059) 2026-01-30 11:26:21 +00:00
tests Provisioning: use token generation check as a triggering condition (#117118) 2026-01-30 11:09:14 +00:00
tsdb CloudWatch Logs: Select log groups with the log group selector and $__logGroups macro for OpenSearch Structured Query Language queries (#116222) 2026-01-29 12:39:46 -08:00
util Add non-boolean feature flags support to the StaticProvider (#115085) 2026-01-12 22:53:23 +01:00
web Security: Fixes for CVE-2025-6197 and CVE-2025-6023 (#108330) 2025-07-18 09:06:26 -06:00
README.md Chore: Move all backend contribution documents to a single directory (#61140) 2023-01-11 11:16:52 +01:00
ruleguard.rules.go

This directory contains the code for the Grafana backend.

The contributor documentation for Grafana's backend is in /contribute/backend/README.md.