MSP-5358 reimplement
This commit is contained in:
1 parent
e56a2b829f
commit
0c2bcc6cfe
8 files changed
+84
-30
No files matched your search
@@ -10,8 +10,8 @@ import (
|
||||
)
|
||||
|
||||
type AdminMethodStore interface {
|
||||
IsInnerEndpoint(path string) bool
|
||||
RequiredAdminPermission(path string) (string, bool)
|
||||
IsInnerEndpoint(endpoint string) bool
|
||||
RequiredAdminPermission(endpoint string) (string, bool)
|
||||
}
|
||||
|
||||
type AdminAuthorizer interface {
|
||||
|
||||
Reference in new issue
Block a user