* Unistore: Ensure deprecated Folder ID gets stored on all modes
Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
* with warning
* with warning
* show error in UI
* show alert not popup
* show alert banner (not popup)
* no memo
* chore: upgrade `@grafana/lezer-logql` and `@grafana/monaco-logql` (#99076)
* [unistore] wire authlib compile (#99027)
* Wire authz client compile method
* add verb to metric
* remove tipo
* Update public/app/features/provisioning/SetupWarnings.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* merge main
---------
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
Co-authored-by: Georges Chaudy <chaudyg@gmail.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* wip. adding sprinkles fields.
* some refactoring. Works with sprinkles now.
* exclude top level dashboard hit fields from hit "fields"
* adds unit test for DecodeCell helper
* test can search for specific dashboard fields on bleve index
* adds search handler tests for the fields and tests for fields when transforming the search req to a bleve search req
* fix panic when calling fields.Set() with int32
* adds regression test
* remove unneeded method on test mock client
* fix linter issues
* updates dashboard test data for bleve tests
* remove DASHBOARD_LEGACY_ID from bleve_tests
* dont cast twice
* updates test to sort by dashboard_views_last_1_days
* declare excludedFields outside of function
* fixes sorting by dashboard fields - prepends "fields." to any dashboard fields we try to sort by
* uses map for excludedFields
* expects fields to be array-style url param
* change method name
* fixes failing tests - needed to add column type to mocks
What
This PR changes the dashboard authorizer logic to no longer require
requester to be the super admin user in order to list dashboards using
k8s APIs.
Why
We no longer need this precondition - dashboards should be listable
based on the regular authorizer logic.
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>
* Remove "wrapper" interface and only check feature toggle for grpc and cloud mode
* Only set name for update checks
* Set dashboard permissions for admin user
* Zanzana: Remove usage from legacy access control
* remove unused
* remove zanzana client from services where it's not used
* remove unused metrics
* fix linter
* Alerting: PoC - default template in k8s templategroup API
* Move code to grafana/alerting
* Move validation to admission validation abstraction
* Testing
* Linting
* Workspace update
* Update grafana/alerting hash to the merged commit
* More user-friendly name and remove need for CREATE/UPDATE validation
Use __default__ for k8s object name and UID so that we don't need to restrict
CREATE/UPDATE for similarly named user-owned templates.
At some point (since 1a7017d14ec1a1ebd31ad4567fa301f0012f5ee3?) we have started always scheduling a sync job when a push
comes in. Let's align the test with reality.