Revert "Folders: Use authlib.AccessClient in authorizer" (#110812)

Revert "Folders: Use authlib.AccessClient in authorizer (#110602)"

This reverts commit 0cb52b8be0.
This commit is contained in:
Gabriel MABILLE
2025-09-09 15:45:37 +02:00
committed by GitHub
parent b30916c917
commit d0f25b0cd7
7 changed files with 317 additions and 162 deletions
+3 -3
View File
@@ -2,11 +2,11 @@ package rbac
import claims "github.com/grafana/authlib/types"
type checkRequest struct {
type CheckRequest struct {
Namespace claims.NamespaceInfo
IdentityType claims.IdentityType
UserUID string
Action string // Verb has been mapped into an action
Action string
Group string
Resource string
Verb string
@@ -14,7 +14,7 @@ type checkRequest struct {
ParentFolder string
}
type listRequest struct {
type ListRequest struct {
Namespace claims.NamespaceInfo
IdentityType claims.IdentityType
UserUID string