From b938e2f81dbb277ae0ccd70a21f803a188563c49 Mon Sep 17 00:00:00 2001 From: d1slike Date: Tue, 14 Nov 2023 12:34:32 +0300 Subject: [PATCH] MSP-2370 add new admin endpoint domains --- domain/system.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/domain/system.go b/domain/system.go index 445dfc1..9efeb27 100644 --- a/domain/system.go +++ b/domain/system.go @@ -18,3 +18,12 @@ type AuthorizeRequest struct { type AuthorizeResponse struct { Authorized bool } + +type AdminAuthorizeRequest struct { + AdminId int + Permission string +} + +type AdminAuthorizeResponse struct { + Authorized bool +}