grafana/pkg/services/accesscontrol
Ieva 159bb3c032
RBAC: Allow scoping access to root level dashboards (#76987)
* correctly check permissions to list dashboards on the root

* correctly display the access inherited from general folder for dashboards

* Update pkg/services/sqlstore/permissions/dashboard.go

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

* Update dashboard_filter_no_subquery.go

---------

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2023-10-24 11:55:38 +03:00
..
acimpl Plugins: Automatic service account (and token) setup (#76473) 2023-10-17 16:21:23 +02:00
actest Chore: remove IsDisabled method for access control (#74340) 2023-09-05 11:04:39 +01:00
api Instrumentation: Set auth as owners for more routes (#75105) 2023-09-20 10:18:52 +02:00
database RBAC: generated prefixed uids for external service role (#76601) 2023-10-16 13:12:16 +02:00
migrator Chore: capitalise log message for auth packages (#74332) 2023-09-04 18:49:47 +02:00
mock Auth: Implement requester interface in access control module (#74289) 2023-09-06 11:16:10 +02:00
ossaccesscontrol RBAC: Allow scoping access to root level dashboards (#76987) 2023-10-24 11:55:38 +03:00
pluginutils Plugins: Migrate licensing and access control to pkg/services/pluginsintegration package (#65258) 2023-03-27 11:15:37 +02:00
resourcepermissions Service Accounts: Enable adding folder, dashboard and data source permissions to service accounts (#76133) 2023-10-06 17:48:13 +02:00
accesscontrol_test.go AuthN: Embed an OAuth2 server for external service authentication (#68086) 2023-05-25 15:38:30 +02:00
accesscontrol.go Auth: Implement requester interface in access control module (#74289) 2023-09-06 11:16:10 +02:00
authorize_in_org_test.go Access: Fetch fresh permissions for target GlobalOrgID in AuthorizeInOrgMiddleware (#76569) 2023-10-13 21:01:47 +03: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 Auth: Add empty role definition (#64694) 2023-07-06 15:40:06 +02:00
evaluator_test.go RBAC: Split up service into several components (#54002) 2022-08-24 13:29:17 +02:00
evaluator.go Chore: capitalise log message for auth packages (#74332) 2023-09-04 18:49:47 +02:00
filter_bench_test.go Chore: Remove Result field from datasources (#63048) 2023-02-09 15:49:44 +01:00
filter_test.go Chore: Remove Result field from datasources (#63048) 2023-02-09 15:49:44 +01: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 Access: Fetch fresh permissions for target GlobalOrgID in AuthorizeInOrgMiddleware (#76569) 2023-10-13 21:01:47 +03:00
models_test.go Slug: Combine various slugify fixes for special character handling (#73164) 2023-08-10 16:12:50 -04:00
models.go RBAC: generated prefixed uids for external service role (#76601) 2023-10-16 13:12:16 +02: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 RBAC: generated prefixed uids for external service role (#76601) 2023-10-16 13:12:16 +02: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