grafana/pkg/services/accesscontrol/actest
Alexander Zobnin 82a88cc83f
Access control: Extend GetUserPermissions() to query permissions in org (#83392)
* Access control: Extend GetUserPermissions() to query permissions in specific org

* Use db query to fetch permissions in org

* refactor

* refactor

* use conditional join

* minor refactor

* Add test cases

* Search permissions correctly in OSS vs Enterprise

* Get permissions from memory

* Refactor

* remove unused func

* Add tests for GetUserPermissionsInOrg

* fix linter
2024-03-04 13:29:13 +01:00
..
common.go Use split scopes instead of substr in search v1 (#82092) 2024-02-18 22:26:08 +01:00
fake.go Access control: Extend GetUserPermissions() to query permissions in org (#83392) 2024-03-04 13:29:13 +01:00
store_mock.go RBAC: Fix delete team permissions on team delete (#83442) 2024-02-27 12:21:26 +01:00