grafana/pkg/services/accesscontrol
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
..
api AccessControl: Add endpoint to get user permissions (#45309) 2022-02-11 17:40:43 +01:00
database Service accounts: Add service account to teams (#51536) 2022-07-06 05:34:36 -04:00
mock RBAC: Add access control metadata to folder dtos (#51158) 2022-06-22 10:29:26 +02:00
ossaccesscontrol Service accounts: Add service account to teams (#51536) 2022-07-06 05:34:36 -04:00
resourcepermissions Service accounts: Add service account to teams (#51536) 2022-07-06 05:34:36 -04:00
accesscontrol_bench_test.go Chore: Remove last build tag (#50120) 2022-06-02 17:36:34 +00:00
accesscontrol_test.go Access Control: Support other attributes than id for resource permissions (#46727) 2022-03-21 17:58:18 +01:00
accesscontrol.go RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 2022-06-14 10:17:48 +02:00
errors.go AccessControl: Resolve attribute based scopes to id based scopes (#40742) 2022-01-18 17:34:35 +01:00
evaluator_test.go Remove unused error from evaluator Evaluate (#49305) 2022-05-20 10:26:57 +02:00
evaluator.go Remove unused error from evaluator Evaluate (#49305) 2022-05-20 10:26:57 +02:00
filter_bench_test.go backend/datasources: move datasources models into the datasources service package (#51267) 2022-06-27 12:23:15 -04:00
filter_test.go backend/datasources: move datasources models into the datasources service package (#51267) 2022-06-27 12:23:15 -04:00
filter.go RBAC: Make RBAC action names more consistent (#49730) 2022-06-02 13:14:48 +01:00
middleware_test.go RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 2022-06-14 10:17:48 +02:00
middleware.go Access Control: Move access control middlewares to domain package (#48322) 2022-04-28 10:46:18 +02:00
models.go Service accounts: Add service account to teams (#51536) 2022-07-06 05:34:36 -04:00
resolvers_test.go backend/datasources: move datasources models into the datasources service package (#51267) 2022-06-27 12:23:15 -04:00
resolvers.go fix logging of resolving scopes (#50173) 2022-06-03 10:53:53 -04:00
roles_test.go AccessControl: Remove package lists for roles and grants (#47141) 2022-04-06 09:31:14 +02:00
roles.go Remove version property from fixed roles (#51298) 2022-06-23 12:09:03 +02:00
scope_test.go Access Control: Refactor scope resolvers with support to resolve into several scopes (#48202) 2022-05-02 09:29:30 +02:00
scope.go RBAC: Add scope resolvers for dashboards (#50110) 2022-06-07 11:02:20 +02:00