grafana/pkg/services/accesscontrol/resourcepermissions
Jo 26339f978b
Auth: Move access control API to SignedInUser interface (#73144)
* move access control api to SignedInUser interface

* remove unused code

* add logic for reading perms from a specific org

* move the specific org logic to org_user.go

* add a comment

---------

Co-authored-by: IevaVasiljeva <ieva.vasiljeva@grafana.com>
2023-08-18 11:42:18 +01:00
..
api_test.go AccessControl: Remove acmock.New from accesscontrol service tests (#71942) 2023-07-20 10:00:46 +02:00
api.go Auth: Move access control API to SignedInUser interface (#73144) 2023-08-18 11:42:18 +01:00
error.go Access Control: Pass db session to hooks (#44428) 2022-01-25 17:12:00 +01:00
hook.go chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
middleware.go RBAC: Remove legacy ac from authorization middleware (#68898) 2023-05-24 09:49:42 +01:00
models.go Auth: Move access control API to SignedInUser interface (#73144) 2023-08-18 11:42:18 +01:00
options.go DataSourcePermissions: Handle licensing properly for ds permissions (#59694) 2022-12-02 13:19:14 +01:00
service_test.go RBAC: Split non-empty scopes into kind, attribute and identifier fields for better search performance (#71933) 2023-07-21 15:23:01 +01:00
service.go Auth: Move access control API to SignedInUser interface (#73144) 2023-08-18 11:42:18 +01:00
store_bench_test.go Chore: Remove Result field from datasources (#63048) 2023-02-09 15:49:44 +01:00
store_test.go RBAC: Split non-empty scopes into kind, attribute and identifier fields for better search performance (#71933) 2023-07-21 15:23:01 +01:00
store.go RBAC: Split non-empty scopes into kind, attribute and identifier fields for better search performance (#71933) 2023-07-21 15:23:01 +01:00