grafana/pkg/services
Gabriel MABILLE 307a0d4538
RBAC: Inheritance permission migration should handle empty managed roles (#50611)
* Make inheritance permission migration more robust

* Better fix

* Add more tests to the migration

* Add removed test case

* Add test case for empty role in empty org

* Handling the role.ID 0 case with a log

Co-authored-by: Jguer <joao.guerreiro@grafana.com>

Co-authored-by: Jguer <joao.guerreiro@grafana.com>
2022-06-10 16:44:13 +02:00
..
accesscontrol Alerting: Add RBAC actions and role for provisioning API routes (#50459) 2022-06-09 09:18:57 +02:00
alerting Alerting: Make ticker to tick at predictable time (#50197) 2022-06-10 10:27:17 -04:00
annotations Chore : Replace dashboardid with dashboardUID in annotation API (#48481) 2022-05-02 11:35:36 +02:00
auth Chore: Remove context.TODO() (#43409) 2021-12-22 11:02:42 +01:00
cleanup Split Delete expired dashboard version store (#49610) 2022-05-31 11:56:05 +02:00
comments backend/services: Move GetDashboard from sqlstore to dashboard service (#48971) 2022-05-17 14:52:22 -04:00
contexthandler pkg/web: remove dependency injection (#49123) 2022-05-24 15:35:08 -04:00
dashboardimport schema: Migrate from scuemata to thema (#49805) 2022-06-06 17:52:44 -07:00
dashboards Chore: Remove dashboard version from models (#50287) 2022-06-08 12:22:55 +02:00
dashboardsnapshots Chore: Remove x from dashboard snapshots (#48001) 2022-04-21 08:20:47 -04:00
dashboardversion Add xorm tag to dashboard version id (#50599) 2022-06-10 14:33:12 +02:00
datasourceproxy Alerting: modify alertmanager endpoints for proxying using the datasource UID (#47978) 2022-04-29 10:25:22 +03:00
datasources Encryption: Fix multiple data keys migration (#49848) 2022-06-04 12:55:49 +02:00
encryption Encryption: Add support for decrypting ciphertexts with algorithm metadata (#49312) 2022-05-20 17:11:51 +02:00
export Export: introduce export plumbing (behind dev feature flag) (#48091) 2022-04-25 16:59:18 -07:00
featuremgmt Add i18n feature flag (#50590) 2022-06-10 13:02:52 +02:00
guardian change to debug logs to match non access control guardian (#50477) 2022-06-09 13:51:56 +02:00
hooks Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
kmsproviders Encryption: Enable envelope encryption by default (#49301) 2022-05-24 10:34:47 +02:00
ldap Chore: Remove Wrap (#50048) 2022-06-03 09:24:24 +02:00
libraryelements RBAC: Add scope resolvers for dashboards (#50110) 2022-06-07 11:02:20 +02:00
librarypanels RBAC: Add scope resolvers for dashboards (#50110) 2022-06-07 11:02:20 +02:00
licensing RBAC: Make RBAC action names more consistent (#49730) 2022-06-02 13:14:48 +01:00
live Chore: Upgrade grafana-plugin-sdk-go to v0.137.0 (#50443) 2022-06-09 10:10:58 +02:00
login Login: Fix AuthInfo update process (#49556) 2022-05-25 10:00:21 +02:00
multildap pkg/web: restrict handler types (#48495) 2022-05-20 12:45:18 -04:00
ngalert Alerting: Make ticker to tick at predictable time (#50197) 2022-06-10 10:27:17 -04:00
notifications Chore: Remove Wrapf (#50128) 2022-06-06 22:30:31 +02:00
oauthtoken Chore: Remove bus from oauthtoken (#46811) 2022-03-21 21:13:57 +01:00
plugindashboards Chore: Remove bus (#47511) 2022-04-08 16:15:06 +02:00
pluginsettings Plugins: Add plugin settings DTO (#46283) 2022-03-18 20:49:13 +01:00
preference Dashboards: Split GetDashboardVersions method (#49967) 2022-06-02 15:59:05 +02:00
provisioning Chore: Remove Wrapf (#50128) 2022-06-06 22:30:31 +02:00
query Data Sources: Add QueryData OAuth & cookie forwarding middleware (#50466) 2022-06-10 08:41:29 -04:00
queryhistory Chore: Run integration tests without grabpl (#49448) 2022-06-01 14:55:22 -04:00
quota Update quota service to accept context (#45186) 2022-02-10 22:17:50 +01:00
rendering Alerting: Add a general screenshot service and alerting-specific image service. (#49293) 2022-05-22 22:33:49 +08:00
screenshot Fix metric names for screenshots (#50426) 2022-06-09 10:32:30 +01:00
search Search (SQL): support dashboardUID query parameter (#50121) 2022-06-02 12:56:01 -07:00
searchusers Access control: Using RBAC to filter users in list view that you have read access to (#47963) 2022-05-13 09:26:34 +02:00
searchV2 SearchV2: explicit dashboard loading order and cleanups (#50210) 2022-06-05 23:46:35 +02:00
secrets WIP: Add private Secret Manager Plugins support to plugin platform (#49544) 2022-06-09 13:19:27 -04:00
serviceaccounts clean up duplicated user creation code (#50178) 2022-06-07 09:49:18 -04:00
shorturls Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
sqlstore RBAC: Inheritance permission migration should handle empty managed roles (#50611) 2022-06-10 16:44:13 +02:00
star Chore: Run integration tests without grabpl (#49448) 2022-06-01 14:55:22 -04:00
store SearchV2: instant local updates, folder events (#50001) 2022-06-03 13:11:32 -07:00
teamguardian ValidatedQueries: start of validated queries API (#44731) 2022-03-07 09:33:01 -09:00
thumbs backend/services: Move GetDashboard from sqlstore to dashboard service (#48971) 2022-05-17 14:52:22 -04:00
updatechecker Logging: Unify logging fakes (#48822) 2022-05-06 17:44:22 +02:00
validations Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00