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 dependency on dashboards table to get library element
* WIP
* Don't use dashboard id when getting library connections
* Lint
* Don;t include folder_uid in library element
* 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
* Add prefix constants and use string builders / string concatinations
* Use cache for both streamed and non-stream versions of list objects
* Remove unused constants
* Use cog for Go types
* Delete old generation code
* Fix plugins generation
* workspaces update
* Update datasources with new generated code
* More fixes
* Update swagger and openapi specs
* Fixes
* More files...
* Update workspace
* More fixes...
* Remove unused functions
* Clarify DS managed rules support only the creation of Mimir and Loki rules
* additional copy changes
* Extend `Manage alerts via Alerting UI` description
* fix capital letter
* further details for `Manage alerts via Alerting UI`
* Zanzana: Remove usage from legacy access control
* remove unused
* remove zanzana client from services where it's not used
* remove unused metrics
* fix linter
* Plugins: Disable SRI checks for filesystem plugins
* Plugins: Disable SRI checks for filesystem plugins
* Update tests
* Lint
* Check for cdn enabled rather than just plugin class
* ops
* Update tests
* lint
* use panel title for dataName instead of panel.getDisplayTitle()
* Interpolate variables in panel title for downloads in scenes
---------
Co-authored-by: oscarkilhed <oscar.kilhed@grafana.com>
* Chore: Bump Go to 1.23.4
This is done in preparation of updating the App SDK library we import, as it has bumped its Go version to 1.23.4 as well.
* Chore: make update-workspace
* sort otel resources to top of adhoc filters
* add bool in datatrail
* add function to find non promoted otel resources
* add additional super filter variable
* hide filters var and keep otel filters var hidden
* add nonpromoted resources to state, update otel or var filters when super filter is updated
* update comments
* update plan
* Allow deployment environment values from both metrics and target_info
* Remove usage of dep env var in getting resources
* update code comments for clarity
* Remove dep env variable, autoselect dep env in otelmetricvar and allow updating of vals in otelmetricvar
* Fix bug that conflicts with local storage useOtelExperience check
* expose metadata to show data source is loaded to prevent otel race conditions
* remove filtering check on target_info in the itel join query
* update plan with extra issues
* refactor update and reset functions for otel experience
* use non promoted resources as the standardization check
* sort the resources in filters var if using otel experience
* add test for sorting resources with otelmetricsvar
* update tests for otel experience in datatrail.test
* update tests for otel utils
* update otel api tests
* update trail store tests to remove dep env var
* run prettier
* remove unused imports
* add tests, distinguish on start and when the initial otel check is done, update comments
* Fix bug when adding multiple otel resources
* fix when adding filter from breakdown
* add migration for dep env var
* update migration function and write tests
* prettier
* Update dep env migration to handle bookmarks
* fix trailstore tests for reintroducing the dep env var
* refactor default env function, we only need the value
* remove redundant check
* move otel functions to utils and update and add tests
* prettier
* cleanup
* fix migration for fromStart
* update tests for migration
* use join and use push
* fix flow with state
* Fix flow in update OTel function
* update tests for flow fixes
* fix toggle OTel bugs
* report when dep env has been migrated and delete dep env filters to not migrate it again
* Clear out dep env after migration
* run prettier
* improve non promoted attribute function
* remove unused functions
* prettier
* default otel experience to off
* report when otel experience is used
* report when otel is turned on and off
* report otel filters changed
* prettier
* keep default otel off, respect the local storage, but if loading with otel vars from url or bookmark we can turn it on
* Add new badge
* fix metric scene breakdown add filter bug around non promoted labels on a metric that are different than non promoted labels for all metrics
* prettier
* make i18n-extract
* prettier for translations
* change button name to "Filter"
* Update public/app/features/trails/Breakdown/AddToFiltersGraphAction.tsx
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com>
* Update public/app/features/trails/DataTrail.tsx
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com>
* Update public/app/features/trails/migrations/otelDeploymentEnvironment.ts
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com>
* Update public/app/features/trails/DataTrail.tsx
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com>
* Update public/app/features/trails/otel/api.ts
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com>
* Update public/app/features/trails/otel/util.ts
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com>
* Add more padding for pill where capital letter gets to close to the left border and looks off.
* clear up comments
---------
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com>