grafana/pkg/services
Artur Wierzbicki 18daa6754c
Previews: datasource permissions (#52747)
* Previews: datasource permissions

* lint

* simplify - force non-null `ds_uids`

* add `canBeDisabled` to search service

* add `IncludeThumbnailsWithEmptyDsUids`

* remove force refresh migration

* refactor main preview service

* add safeguard

* revert ticker interval

* update testdata

* fix test

* add mock search service

* add datasources lookup test

* update migration

* extract ds lookup to its own package to avoid cyclic imports

* lint

* fix dashbaord extract, use the real datasource lookup in tests. IS IT BULLETPROOF YET?!

* fix dashbaord extract, use the real datasource lookup in tests. IS IT BULLETPROOF YET?!

* remove stale log

* consistent casing

* pass context to `createServiceAccount`

* filter out the special grafana ds
2022-07-28 16:40:26 +04:00
..
accesscontrol Revert "Service accounts: Add service account to teams" (#52710) 2022-07-26 09:43:29 +01:00
alerting Renderer: Add sanitize API (#50936) 2022-07-07 15:32:18 +04:00
annotations Chore: Add dashboard UID as query parameter of Get annotation endpoint (#52764) 2022-07-26 21:52:34 -04:00
auth Split Create User (#50502) 2022-06-28 14:32:25 +02:00
cleanup backend/dashboardsnapshot service: move models (#50898) 2022-06-17 09:09:01 -04:00
comments backend/services: Move GetDashboard from sqlstore to dashboard service (#48971) 2022-05-17 14:52:22 -04:00
contexthandler Auth: Implement Token URL JWT Auth (#52662) 2022-07-27 16:10:47 +02:00
correlations Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
dashboardimport Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
dashboards Fix anonymous access (#52615) 2022-07-22 10:35:26 +02:00
dashboardsnapshots chore/backend: move dashboard errors to dashboard service (#51593) 2022-06-30 09:31:54 -04:00
dashboardversion chore/backend: move dashboard errors to dashboard service (#51593) 2022-06-30 09:31:54 -04:00
datasourceproxy backend/datasources: move datasources models into the datasources service package (#51267) 2022-06-27 12:23:15 -04:00
datasources Secrets: Implement Secret Plugin required flag and fatal crash on startup (#52552) 2022-07-25 12:37:47 -04:00
encryption Encryption: Add support for decrypting ciphertexts with algorithm metadata (#49312) 2022-05-20 17:11:51 +02:00
export Previews: datasource permissions (#52747) 2022-07-28 16:40:26 +04:00
featuremgmt Prometheus: Add flag to compare streaming and buffered responses (#51711) 2022-07-28 14:26:51 +02:00
guardian Rename Acl to ACL (#52342) 2022-07-18 15:14:58 +02:00
hooks Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
kmsproviders Encryption: Refactor secrets.Service initialization (#51091) 2022-07-07 09:48:25 +02:00
ldap LDAP: Improve errors and documentation (#52111) 2022-07-12 11:11:09 -04:00
libraryelements Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
librarypanels Rename Acl to ACL (#52342) 2022-07-18 15:14:58 +02:00
licensing RBAC: Make RBAC action names more consistent (#49730) 2022-06-02 13:14:48 +01:00
live sync routing tree with latest changes in Gin (#51541) 2022-06-29 19:05:57 +03:00
login Auth: Add prometheus metrics for case insensitive ids (#52162) 2022-07-21 18:11:35 +01:00
multildap Split Create User (#50502) 2022-06-28 14:32:25 +02:00
ngalert Alerting: Scheduler to use AlertRule (#52354) 2022-07-26 09:40:06 -04:00
notifications Alerting: Fix Teams notifier not failing on 200 response with error (#52254) 2022-07-14 13:15:18 -04:00
oauthtoken Chore: Move user errors to user service (#52460) 2022-07-20 14:50:06 +02:00
org Chore: Split delete user method (#52216) 2022-07-19 16:01:05 +02:00
playlist Chore: Introduce playlist service (#52252) 2022-07-18 05:26:35 -04:00
plugindashboards Chore: Make test tracer noop and return no errors (#50797) 2022-06-15 12:40:41 +02:00
pluginsettings Plugins: Add plugin settings DTO (#46283) 2022-03-18 20:49:13 +01:00
preference Add delete user from other services/stores (#51912) 2022-07-15 18:06:44 +02:00
provisioning Correlations: change casing of *UID properties (#52836) 2022-07-27 07:01:46 +01:00
publicdashboards Public Dashboards: Adds template variable validation for pubdash on the backend (#52566) 2022-07-21 13:56:20 -06:00
query Datasource: Propagate datasource secret decryption errors to the frontend (#52068) 2022-07-13 09:27:03 -04:00
queryhistory Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
quota Storage: limit the number of uploaded files (#50796) 2022-07-18 15:24:39 +04:00
rendering Sanitization: fix log message (#52401) 2022-07-18 06:46:57 -07:00
screenshot Alerting: Better metrics and renamed BrowserScreenshotService (#51564) 2022-06-30 17:47:23 +01:00
search Search (SQL): support dashboardUID query parameter (#50121) 2022-06-02 12:56:01 -07:00
searchusers Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
searchV2 Previews: datasource permissions (#52747) 2022-07-28 16:40:26 +04:00
secrets Secrets: Implement Secret Plugin required flag and fatal crash on startup (#52552) 2022-07-25 12:37:47 -04:00
serviceaccounts Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
shorturls ShortURL: Use new Error type (#50859) 2022-06-15 15:11:36 +02:00
sqlstore Previews: datasource permissions (#52747) 2022-07-28 16:40:26 +04:00
star Add delete user from other services/stores (#51912) 2022-07-15 18:06:44 +02:00
store Storage: fix delete folder (#52860) 2022-07-28 12:27:26 +03:00
teamguardian Chore: Split delete user method (#52216) 2022-07-19 16:01:05 +02:00
thumbs Previews: datasource permissions (#52747) 2022-07-28 16:40:26 +04:00
updatechecker Logging: Unify logging fakes (#48822) 2022-05-06 17:44:22 +02:00
user Chore: Move user errors to user service (#52460) 2022-07-20 14:50:06 +02:00
userauth Chore: Split delete user method (#52216) 2022-07-19 16:01:05 +02:00
validations Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00