mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-09 15:40:27 +08:00
当证书被API节点或者用户节点使用时不允许删除/规范命名
This commit is contained in:
@@ -15,7 +15,7 @@ func (this *DeleteAction) RunPost(params struct {
|
||||
}) {
|
||||
// TODO 检查权限
|
||||
|
||||
_, err := this.RPC().UserNodeRPC().DeleteUserNode(this.AdminContext(), &pb.DeleteUserNodeRequest{NodeId: params.NodeId})
|
||||
_, err := this.RPC().UserNodeRPC().DeleteUserNode(this.AdminContext(), &pb.DeleteUserNodeRequest{UserNodeId: params.NodeId})
|
||||
if err != nil {
|
||||
this.ErrorPage(err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user