grafana/pkg/services/accesscontrol
Eric Leijonmarck ddabef9895
RBAC: Add actionsets struct and write path (#86108)
* Add actionsets struct and failing test

* update from review

* review comments

* review comments update

* refactor: create interface

* actionset service

* fix tests

* move from wireoss to wire

* Apply suggestions from code review

remove unnecessary comments

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>

* nil for the actionsetservice

* Revert "nil for the actionsetservice"

This reverts commit e3d3cc8171.

---------

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2024-04-19 15:38:14 +01:00
..
acimpl IAM - Fix error messages for resource permissions endpoints (#85773) 2024-04-17 08:53:28 -05:00
actest Access control: Use ResolveIdentity() for authorizing in org (#85549) 2024-04-10 12:42:13 +02:00
api RBAC Search: Replace userLogin filter by namespacedID filter (#81810) 2024-02-16 11:42:36 +01:00
database RBAC: Add actionsets struct and write path (#86108) 2024-04-19 15:38:14 +01:00
migrator Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
mock Access control: Use ResolveIdentity() for authorizing in org (#85549) 2024-04-10 12:42:13 +02:00
ossaccesscontrol RBAC: Add actionsets struct and write path (#86108) 2024-04-19 15:38:14 +01:00
pluginutils RBAC: Reject plugin registrations without a name (#81719) 2024-02-02 11:12:00 +01:00
resourcepermissions RBAC: Add actionsets struct and write path (#86108) 2024-04-19 15:38:14 +01:00
ssoutils Auth: Improve /admin/authentication permission checks and include new SSO pages (#81183) 2024-01-25 11:13:24 +01:00
accesscontrol_test.go AuthN: Remove embedded oauth server (#83146) 2024-02-26 11:29:09 +01:00
accesscontrol.go Authn: Identity resolvers (#85930) 2024-04-12 11:38:20 +02:00
authorize_in_org_test.go Access control: Use ResolveIdentity() for authorizing in org (#85549) 2024-04-10 12:42:13 +02:00
checker_test.go Chore: Fix goimports grouping (#62426) 2023-01-30 09:34:18 +01:00
checker.go RBAC: Permission check performance improvements for the new search (#60729) 2023-01-27 12:12:30 +00:00
errors.go IAM - Fix error messages for resource permissions endpoints (#85773) 2024-04-17 08:53:28 -05:00
evaluator_test.go RBAC: handle partially resolved scopes (#85323) 2024-03-28 10:08:07 +01:00
evaluator.go RBAC: handle partially resolved scopes (#85323) 2024-03-28 10:08:07 +01:00
filter_bench_test.go Chore: Remove Result field from datasources (#63048) 2023-02-09 15:49:44 +01:00
filter_test.go Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
filter.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
metadata_bench_test.go RBAC: Add function to generate wildcards from prefix (#54275) 2022-08-26 17:10:35 +02:00
metadata_test.go RBAC: Add function to generate wildcards from prefix (#54275) 2022-08-26 17:10:35 +02:00
metadata.go RBAC: Add function to generate wildcards from prefix (#54275) 2022-08-26 17:10:35 +02:00
middleware_test.go AccessControl: Remove acmock.New from accesscontrol service tests (#71942) 2023-07-20 10:00:46 +02:00
middleware.go IAM - Fix error messages for resource permissions endpoints (#85773) 2024-04-17 08:53:28 -05:00
models_test.go ExtSvcAuth: Assign roles locally (#78669) 2023-11-29 12:12:30 +01:00
models.go Alerting: Introduce authorization logic for operations on silences (#85418) 2024-04-08 18:02:28 -04:00
resolvers_test.go Chore: Fix goimports grouping (#62426) 2023-01-30 09:34:18 +01:00
resolvers.go Chore: capitalise log message for auth packages (#74332) 2023-09-04 18:49:47 +02:00
roles_test.go AccessControl: Remove package lists for roles and grants (#47141) 2022-04-06 09:31:14 +02:00
roles.go IAM - Fix error messages for resource permissions endpoints (#85773) 2024-04-17 08:53:28 -05:00
scope_test.go RBAC: Add function to generate wildcards from prefix (#54275) 2022-08-26 17:10:35 +02:00
scope.go RBAC: Permission check performance improvements for the new search (#60729) 2023-01-27 12:12:30 +00:00