MSP-2370 add new admin endpoint domains
This commit is contained in:
1 parent
011cdd022c
commit
b938e2f81d
1 file changed
+9
@@ -18,3 +18,12 @@ type AuthorizeRequest struct {
|
||||
type AuthorizeResponse struct {
|
||||
Authorized bool
|
||||
}
|
||||
|
||||
type AdminAuthorizeRequest struct {
|
||||
AdminId int
|
||||
Permission string
|
||||
}
|
||||
|
||||
type AdminAuthorizeResponse struct {
|
||||
Authorized bool
|
||||
}
|
||||
Reference in new issue
Block a user