grafana/pkg/services/accesscontrol/database
Eric Leijonmarck 0f919671e7
Service accounts: Add service account to teams (#51536)
* Revert "Serviceaccounts: #48995

Do not display service accounts assigned to team (#48995)"

This reverts commit cbf71fbd7f.

* fix: test to not include more actions than necessary

* adding service accounts to teams - backend and frontend changes

* also support SA addition through the old team membership endpoints

* fix tests

* tests

* serviceaccounts permission tests

* serviceaccounts permission service tests run

* added back test that was removed by accident

* lint

* refactor: add testoptionsTeams

* fix a bug

* service account picker change

* explicitly set SA managed permissions to false for dash and folders

* lint

* allow team creator to list service accounts

Co-authored-by: IevaVasiljeva <ieva.vasiljeva@grafana.com>
2022-07-06 05:34:36 -04:00
..
database_test.go Copy delete user permission to access control service (#51747) 2022-07-05 18:05:56 +02:00
database.go Copy delete user permission to access control service (#51747) 2022-07-05 18:05:56 +02:00
resource_permissions_bench_test.go Split Create User (#50502) 2022-06-28 14:32:25 +02:00
resource_permissions_test.go Split Create User (#50502) 2022-06-28 14:32:25 +02:00
resource_permissions.go Service accounts: Add service account to teams (#51536) 2022-07-06 05:34:36 -04:00
uid.go Access Control: Move part of access control database (#40483) 2021-11-11 14:02:53 +01:00