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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user