grafana/pkg/services/accesscontrol/resourcepermissions
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
..
types Access Control: Support other attributes than id for resource permissions (#46727) 2022-03-21 17:58:18 +01:00
api_test.go Service accounts: Add service account to teams (#51536) 2022-07-06 05:34:36 -04:00
api.go Service accounts: Add service account to teams (#51536) 2022-07-06 05:34:36 -04:00
error.go Access Control: Pass db session to hooks (#44428) 2022-01-25 17:12:00 +01:00
middleware.go Access Control: Remove unused option (#48317) 2022-04-29 11:05:51 +02:00
options.go RBAC: Remove workaround to check permissions on folders for dashboard actions (#50291) 2022-06-07 13:21:56 +02:00
service_test.go Service accounts: Add service account to teams (#51536) 2022-07-06 05:34:36 -04:00
service.go Service accounts: Add service account to teams (#51536) 2022-07-06 05:34:36 -04:00