mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-07 02:20:24 +08:00
[用户节点]可以管理用户节点
This commit is contained in:
@@ -115,6 +115,7 @@ func ValidateRequest(ctx context.Context, userTypes ...UserType) (userType UserT
|
||||
return UserTypeCluster, 0, errors.New("context: not found cluster with id '" + nodeId + "'")
|
||||
}
|
||||
nodeUserId = clusterId
|
||||
case UserTypeUser:
|
||||
}
|
||||
|
||||
if nodeUserId > 0 {
|
||||
|
||||
Reference in New Issue
Block a user