grafana/pkg/services/sqlstore/migrations
Jguer 3250bf6b2b
AccessControl: Add migration for seeding managed inherited permissions (#49337)
* AccessControl: Add migration for seeding managed inherited permissions

Co-authored-by: Karl Persson <kalle.persson@grafana.com>

* AccessControl: move to single file

* AccessControl: Add tests for managed permission migration

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

* AccessControl: Ensure no duplicate insertion

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

* Remove commented code

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

* Add code migration constant

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

* Ensure DB is clean between tests

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

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

Co-authored-by: Karl Persson <kalle.persson@grafana.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2022-05-23 16:50:10 +02:00
..
accesscontrol AccessControl: Add migration for seeding managed inherited permissions (#49337) 2022-05-23 16:50:10 +02:00
ualert Alerting: Add a "Reason" to Alert Instances to show underlying cause of state. (#49259) 2022-05-23 16:49:49 +08:00
alert_mig.go SQL: Define primary key for tables without it (#22255) 2020-11-17 17:58:56 +01:00
annotation_mig.go SQL: Define primary key for tables without it (#22255) 2020-11-17 17:58:56 +01:00
apikey_mig.go APIKeys: add API key migration to ensure fk is null (#46285) 2022-03-07 15:58:20 +01:00
cache_data_mig.go renames key to cache_key 2019-03-11 10:49:55 +01:00
comments_migrations.go Comments: support live comments in dashboards and annotations (#44980) 2022-02-22 10:47:42 +03:00
common.go login: uses epochs for login throtting. 2018-02-16 17:25:46 +01:00
dashboard_acl.go Extract search users functions into a service (#39002) 2021-09-29 12:51:49 +02:00
dashboard_mig.go add isPublic to dashboard (#48012) 2022-05-17 14:11:55 -08:00
dashboard_public_config_mig.go public dashboards: add public dashboard table (#48470) 2022-05-03 15:08:40 -08:00
dashboard_snapshot_mig.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
dashboard_thumbs_mig.go Dash previews: populate crawler queue from SQL query (#44083) 2022-02-09 13:23:32 +04:00
dashboard_version_mig.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
datasource_mig.go Alerting: improve alerting default datasource search when extracting alerts (#29993) 2021-01-07 21:33:17 +01:00
db_file_storage.go Storage: enable SQL backend (#48095) 2022-05-16 10:26:40 -07:00
entity_events_mig.go Search: in-memory index (#47709) 2022-04-27 12:29:39 +04:00
heartbeat_mig.go feat(query_part): refactoring query part 2016-08-15 17:20:45 +02:00
kv_store_mig.go add key/value store service (#36868) 2021-08-31 11:05:45 -04:00
libraryelements.go LibraryPanels: Increase max description length to 2048 chars (#46601) 2022-03-24 12:14:56 +00:00
live_mig.go Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
login_attempt_mig.go login: migration fix. 2018-02-16 17:36:28 +01:00
migrations_test.go Skip flaky test (#45785) 2022-02-23 16:56:21 +01:00
migrations.go AccessControl: Add migration for seeding managed inherited permissions (#49337) 2022-05-23 16:50:10 +02:00
org_mig.go Extract search users functions into a service (#39002) 2021-09-29 12:51:49 +02:00
playlist_mig.go utf8mb4 encoding (#7959) 2017-03-28 14:34:53 +02:00
plugin_setting.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
preferences_mig.go Navigation: Introduce a preferences table to store Navbar preferences (#44914) 2022-03-17 12:07:20 +00:00
query_history_mig.go Query history: Create API to add query to query history (#44479) 2022-01-28 17:55:09 +01:00
query_history_star_mig.go Query history: Cleanup (#48303) 2022-05-03 14:49:58 +02:00
quota_mig.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
secrets_mig.go Encryption: Add support for multiple data keys per day (#47765) 2022-05-23 13:13:55 +02:00
serverlock_migrations.go moves migrations to /sqlstore/migrations 2018-12-17 16:36:57 +01:00
session_mig.go Issue 3461: Session table is now created automatically 2015-12-23 01:33:46 -06:00
short_url_mig.go chore: remove executable permissions of source files and docs (#46303) 2022-05-03 12:08:14 +02:00
stats_mig.go Chore/fix lint issues (#27704) 2020-09-22 16:22:19 +02:00
tag_mig.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
team_mig.go Teams: Add index for permission check (#25736) 2020-06-26 15:13:53 +02:00
temp_user.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
user_auth_mig.go OAuth: persisting the id token (#42938) 2021-12-14 15:22:10 +01:00
user_auth_token_mig.go Auth: Allow soft token revocation (#31601) 2021-03-16 17:44:02 +01:00
user_mig.go Service accounts: make is_service_account nullable (#45541) 2022-02-18 13:08:00 +01:00