Ieva
2c73f15839
Revert "Revert "RBAC: remove dashboard ACL logic from dash store, service #78130 " ( #78203 )
...
Revert "Revert "RBAC: remove dashboard ACL logic from dash store, service #78130 (#78198 )"
This reverts commit 8057b9298d .
2023-11-15 16:45:49 +00:00
Kat Yang
d090dab138
Chore: Deprecate FolderID from SaveDashboardCommand ( #77813 )
2023-11-15 11:21:02 -05:00
Kat Yang
8d581b8358
Chore: Deprecate ID in GetFolderQuery ( #77647 )
2023-11-15 10:30:00 -05:00
Kat Yang
ae326eaed1
Chore: Deprecate FolderID from DashboardACLInfoDTO ( #77652 )
...
* Chore: Deprecate FolderID from DashboardACLInfoDTO
* chore: regen specs
2023-11-15 10:29:20 -05:00
Kat Yang
3a2e96b0db
Chore: Deprecate FolderID from Dashboard ( #77823 )
...
* Chore: Deprecate FolderID from Dashboard
* chore: add two missing nolint comments
2023-11-15 10:28:50 -05:00
Julien Duchesne
c551c9e71f
Swagger: Fix listTokensResponse ( #78155 )
...
* Swagger: Fix listTokensResponse
It should return a list of Tokens, not a single one
Also regenerated the API spec from the latest changes + this branch
* Remove pointer
2023-11-15 08:59:54 -05:00
Eric Leijonmarck
8057b9298d
Revert "RBAC: remove dashboard ACL logic from dash store, service #78130 ( #78198 )
...
Revert "RBAC: remove dashboard ACL logic from dash store and service (#78130 )"
This reverts commit dd54931147 .
2023-11-15 15:33:38 +02:00
1f1d348e17
DataTrails: Auto query, explore and breakdown/drilldown prototype ( #77019 )
...
* First try
* Update
* app with drilldowns
* Progres
* Progress
* update
* Update
* update
* Update
* Update
* Progress
* Update
* Progress
* Update
* Progress
* logs url sync
* related metrics
* Progress
* progress
* Progress
* Update
* Update
* Update
* Update
* Update
* fix
* Update
* update
* Update
* update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* update
* Update
* Update
* Settings
* Update
* Tweaks
* update
* Improve auto queries
* Update
* Update
* Fixes
* Update
* Update
* Update
* fix
* Update
* Removing logs view, cleanup
* Update
* Update
* disabled not implemented buttons
* Update
* Feature toggle on dashboard menu
* remove unused prometheus change
* removed bit
* Fix failing test
* chore: added `/public/app/features/trails/` to CODEOWNERS
* go mod tidy
* go mod tidy
* fix: added missing arg
* Moved panel action
* Moved panel action
---------
Co-authored-by: André Pereira <adrapereira@gmail.com >
Co-authored-by: Darren Janeczek <darren.janeczek@grafana.com >
2023-11-15 11:28:29 +00:00
Tania
1d1d42c984
Nested Folders: Decrease max nested folders depth ( #78133 )
...
* Nested Folders: Decrease allowed nested folders depth
* Fix folder height check in Move
2023-11-15 10:25:40 +01:00
Ieva
dd54931147
RBAC: remove dashboard ACL logic from dash store and service ( #78130 )
...
remove dashboard ACL logic from dash store and service
2023-11-15 08:25:51 +00:00
William Wernert
1a53a716e9
Annotations: Lift parts of RBAC from xorm store into auth service ( #76967 )
...
* [WIP] Lift RBAC from xorm store
* Cleanup RBAC, fix tests
* Use the scope type map as a map
* Remove dependency on dashboard service
* Make dashboards a map for constant time lookups (useful later)
---
* Lift RBAC tests into a new file to test at service level
* Add necessary access resource structs to xorm store tests
* Move authorization into separate service
* Pass features to searchstore.Builder
* Sort imports
* Code cleanup
* Remove useless scope type check
* Lift permission check into `Authorize()`
* Use clearer language when checking scope types
* Include dashboard permissions in test to ensure they're ignored
* Switch to errutil
* Cleanup sql.Cfg refs
2023-11-14 18:11:01 -05:00
Ryan McKinley
2b1e731c15
K8s/Playlist: Test dual write path ( #77604 )
2023-11-15 00:07:32 +02:00
Misi
19a7cd88b0
Auth: Add SAML scopes to fixed:authentication.config:writer ( #78147 )
...
Add SAML scopes back to fixed authenticationConfigWriterRole
2023-11-14 23:02:52 +02:00
Ryan McKinley
f69fd3726b
FeatureToggles: Add context and and an explicit global check ( #78081 )
2023-11-14 12:50:27 -08:00
Ryan McKinley and Jeff Levin
c887ef2c9a
K8s: Set version info in response ( #78083 )
...
Co-authored-by: Jeff Levin <jeff@levinology.com >
2023-11-14 12:29:15 -08:00
João Calisto
c506da53f3
Feature Registry: Update toggle configs for admin page visibility ( #78062 )
...
* Feature Registry: Update toggle configs for admin page visibility
* update
* fix rebase
2023-11-14 17:04:54 +00:00
408dab8c57
IAM: Protect managed service account frontend details page ( #77839 )
...
* Add `isManaged` property to frontend model
* Remove enabled and token buttons for managed SA
* Replace trash icon for lock icon for managed SA
* Block the role picker for managed SA
* Filter SA list usiong the managed filter
* Rename external for managed
* Add only managed filter
* Toggle the enable buttons for managed sa
* Disable add token and delete token buttons
* Remove the edit name button
* Disable the Role picker for managed sa
* Hide the permissions section
* Add managed by row
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com >
2023-11-14 17:52:48 +01:00
Mihai Doarna
6d74746997
Auth: Replace literal http status codes with constants from http pkg ( #78116 )
...
replace literal http status codes with constants from http pkg
2023-11-14 17:07:51 +02:00
Ryan McKinley
a221c1d754
Chore: Remvoe newDBLibrary feature flag ( #78074 )
2023-11-14 06:51:35 -08:00
Jo and Ieva
580477bf8e
NGAlerting: Use identity.Requester interface instead of SignedInUser ( #76360 )
...
* unfurl SignedInUserAttrs services
* replace signedInUser with Requester
replace signedInUser with requester
* fix tests
* linting
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2023-11-14 14:47:34 +00:00
Giuseppe Guerra
ab4fc07cc7
Plugins: Add statusSource to partial data response error log ( #78057 )
...
* Plugins: Add statusSource to partial data response error log
* Introduce DefaultStatusSource
* Add StatusSourceFromPluginErrorSource
* Moved StatusSourceFromPluginErrorSource
* Update pkg/services/pluginsintegration/clientmiddleware/logger_middleware.go
2023-11-14 16:27:48 +02:00
Ashley Harrison
e389ffa137
Chore: only show short commit hash in the help menu ( #78038 )
...
only show short commit hash in the help menu
2023-11-14 13:22:46 +00:00
Santiago
4a152a0e35
Alerting: Add lifecycle methods to the forked Alertmanager ( #77741 )
...
* Alerting: Add an empty Forked Alertmanager
* Alerting: Add methods for silences to the forked Alertmanager
* check for errors in tests
* make linter happy
* Alerting: Add methods for alerts to the forked Alertmanager
* Alerting: Add methods for receivers to the forked Alertmanager
* Alerting: Add TestTemplate method to the forked Alertmanager
* make linter happy
* separate into both forked AMs
* fix tests
* Alerting: Add lifecycle methods to the forked Alertmanager
2023-11-14 11:17:17 +01:00
Ryan McKinley
1be1432926
K8s: Add subresource to the example apiserver ( #78030 )
2023-11-14 05:51:58 +02:00
Ryan McKinley
a2a6f9a6d8
K8s: Update comments and structure to help a security review ( #77881 )
2023-11-13 12:51:41 -08:00
Ryan McKinley
dec9a07738
Settings: Actually deprecate access to feature flags ( #78073 )
2023-11-13 11:39:01 -08:00
Ryan McKinley
3509a5abb9
FeatureFlags: Cleanup usage of cfg.IsFeatureToggleEnabled ( #78014 )
2023-11-13 07:55:15 -08:00
Marcus Efraimsson
2b146b97b4
Plugins: Remove usage of deprecated folder id ( #78061 )
2023-11-13 16:49:28 +01:00
Gabriel MABILLE
fe8d0e6381
ExtSvcAuth: Refactor external service registry to use ExternalServiceRegistry variables ( #78056 )
...
ExtSvcAuth: Refactor external service registry to use ExternalServiceRegistry
2023-11-13 16:23:11 +01:00
Ryan McKinley
55d61c93d2
K8s: Upgrade to v0.28.3 ( #78033 )
2023-11-13 06:53:24 -08:00
Ryan McKinley
ad44164910
Preferences: Remove SQLX backing store ( #78015 )
2023-11-13 06:22:22 -08:00
Gabriel MABILLE and linoman
20a2840046
Plugin: Remove external service on plugin removal ( #77712 )
...
* Plugin: Remove external service on plugin removal
* Add feature flag check in the service registration service
* Initialize map
* Add HasExternalService as suggested
* Commit suggestion
Co-authored-by: linoman <2051016+linoman@users.noreply.github.com >
* Nit on test.
Co-authored-by: linoman <2051016+linoman@users.noreply.github.com >
---------
Co-authored-by: linoman <2051016+linoman@users.noreply.github.com >
2023-11-13 13:18:13 +01:00
Ieva
eca45f6492
Chore: remove gcomOnlyExternalOrgRoleSync feature toggle ( #78001 )
...
remove gcomOnlyExternalOrgRoleSync feature toggle
2023-11-13 09:56:02 +00:00
Torkel Ödegaard
4bc322ca1d
DashboardScene: Pass panel id to PanelProps.id ( #77927 )
...
* Panel props id
* Removing panel works
* Update
2023-11-13 09:51:21 +01:00
Gábor Farkas
2d391c1bf5
postgresql: change plugin id ( #77444 )
...
* postgres: change plugin id
* fixed cue file
* codeowners update
* fixed backend test
2023-11-13 08:49:26 +01:00
Ryan McKinley
675e946b40
SQLX: Remove two unreachable services ( #78016 )
2023-11-12 09:29:14 -08:00
Marcus Efraimsson
c7442c0fd2
Instrumentation: Check embedded errors in query data response for plugin metrics/logs status label ( #77613 )
...
Check embedded errors in query data response for plugin metrics/logs status label.
Plugin Request Completed log messages are now logged with info level if status=ok,
otherwise error level.
Fixes #76769
2023-11-10 16:55:01 +01:00
Giuseppe Guerra
7b4bcc86f1
Plugins: Pass OTEL sampling config to plugins ( #76834 )
...
* Pass OTEL sampling config to plugins
* fix capital letters
* Do not pass sampler env vars if sampling is not configured
* Add tests
* PR review feedback
* Simplify tracing env vars logic
* Update test to reflect pkg/infra/tracing behaviour
2023-11-10 14:56:08 +01:00
Sonia Aguilar
68e37c3925
Alerting: Adds the new alertingSimplifiedRouting feature toggle ( #77984 )
...
Adds the new alertingSimplifiedRouting feature toggle for the simplified alert routing
2023-11-10 14:14:39 +01:00
Alexander Zobnin and Eric Leijonmarck
944593c4d5
Team LBAC: Able to configure default rule ( #77946 )
...
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
2023-11-10 12:31:37 +00:00
Tania
6b4337a842
Nested folders: Write to folders table even if the feature toggle is off ( #77788 )
...
* Update folders table even if the feature toggle is off
* Fix failing test
* Apply review feedback
* Revert test changes
2023-11-10 13:03:00 +01:00
Hugo Kiyodi Oshiro
e754c5a6c6
Plugins: Change managed plugins installation call ( #77120 )
2023-11-10 12:28:36 +01:00
Giuseppe Guerra
da117aea1c
Plugins: Allow disabling angular deprecation UI for specific plugins ( #77026 )
...
* Plugins:Allow disabling angular deprecation UI for specific plugins
* add backend test
* changed test names
* lint
* Removed angular properties from DataSourceDTO
* Update tests
* Move angularDetected and hideAngularDeprecation in angularMeta property
* Fix angular property name in AppPluginConfig
* Fix reference to angularMeta.detected
* Fix hide_angular_deprecation not working for core plugins
* lint
2023-11-10 11:44:54 +01:00
Johannes Przymusinski
641a47c71d
Provisioning: Remove trailing space from log message ( #73124 )
...
Remove trailing space from log message
2023-11-10 07:24:35 +00:00
Gilles De Mey
323ee7c38c
Alerting: Remove react-enable ( #77955 )
2023-11-09 18:35:03 +01:00
Alexander Weaver
36dba7584d
grpcserver: Extract existing span context from grpc request metadata prior to span creation ( #77833 )
...
Extract existing span context from grpc metadata
2023-11-09 11:25:19 -06:00
linoman and Gabriel MABILLE
5bc4f56c79
IAM: Protect external service accounts frontend list page ( #77834 )
...
* Add `isExternal` property to frontend model
* Remove enabled and token buttons for external SA
* Replace trash icon for lock icon for external SA
* Block the role picker for external SA
* Filter SA list using the external filter
* Add only external filter at backend
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2023-11-09 17:45:46 +01:00
Kat Yang and Arati R.
c94410fdee
Chore: Deprecate FolderIds from FindPersistedDashboardsQuery ( #77651 )
...
* Chore: Deprecate FolderIds from FindPersistedDashboardsQuery
* Update pkg/services/dashboards/models.go
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
---------
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
2023-11-09 11:07:10 -05:00
Kat Yang
1c758ab5f2
Chore: Deprecate folderID from dashboardIdentity ( #77650 )
2023-11-09 10:57:33 -05:00
Kat Yang
4e57324d58
Chore: Deprecate FolderID from GetDashboardQuery ( #77812 )
2023-11-09 10:53:39 -05:00