Access: Add migration to remove datasources:drilldown (#102188)

* Add migration to remove datasources:drilldown

* remove role assignments as well

* rename to datasources:drilldown

* remove the role assignments

* made it simple instead

* Update pkg/services/sqlstore/migrations/accesscontrol/datasource_drilldown_removal.go

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

* Update pkg/services/sqlstore/migrations/accesscontrol/datasource_drilldown_removal.go

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

---------

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
This commit is contained in:
Eric Leijonmarck
2025-03-18 13:06:30 +02:00
committed by GitHub
co-authored by Gabriel MABILLE
parent c79c768421
commit fc9e5110d7
2 changed files with 42 additions and 0 deletions
@@ -153,4 +153,6 @@ func (oss *OSSMigrations) AddMigration(mg *Migrator) {
ualert.AddAlertRuleMissingSeriesEvalsToResolve(mg)
ualert.AddAlertRuleVersionUIDIndex(mg)
accesscontrol.AddDatasourceDrilldownRemovalMigration(mg)
}