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 |
|
Ieva
|
510c69ec91
|
Access control: allow hiding roles (#46358)
* allow hiding roles
* extend docs
* docs feedback
* extend provisioning docs
* formatting
Co-authored-by: Leonard Gram <leo@xlson.com>
|
2022-03-15 13:17:45 +00:00 |
|
Ieva
|
dcae138379
|
Access Control: adding group field to roles (#41465)
* add group field to roles in AC models
* change to using group_name as the column name
* add a migration for group column
|
2021-11-12 10:42:47 +00:00 |
|
Karl Persson
|
3c659f1ea0
|
Access Control: Move part of access control database (#40483)
* Add accesscontrol migrations
* Add ResourceStore interface and related structs
* Add team/user/builtin-role
* Add accesscontrol database with functions to handle managed roles and
permissions
* Add ResourceManager
* Add GetUserPermissions
* Update pkg/services/accesscontrol/accesscontrol.go
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
|
2021-11-11 14:02:53 +01:00 |
|