系统用户增加是否允许登录选项

This commit is contained in:
GoEdgeLab
2021-03-30 11:00:32 +08:00
parent 37ffb6e4ba
commit f325ea7d9a
5 changed files with 193 additions and 160 deletions

View File

@@ -146,6 +146,7 @@ message CreateAdminRequest {
string fullname = 3;
bytes modulesJSON = 4;
bool isSuper = 5;
bool canLogin = 6;
}
message CreateAdminResponse {
@@ -161,6 +162,7 @@ message UpdateAdminRequest {
bytes modulesJSON = 5;
bool isSuper = 6;
bool isOn = 7;
bool canLogin = 8;
}
// 计算管理员数量