【已评审】修改删除、禁用最后一个管理员的错误引擎描述

背景

当环境存在两个管理员用户,且其中一个管理员用户仅有SFTP接口权限时,若禁用、删除另一个管理员,可以跳过最后一个管理员检查,导致环境变砖仅剩余一个仅有SFTP权限的管理员可用。

触发原因

缺陷

关联issue

【问题单】最后一个管理员用户可将自身的登陆接口全部关闭导致环境无管理员用户可用

决策点

修改错误引擎描述

已内部对齐,以下错误信息描述不会产生北向网管兼容性影响。

错误引擎标识 变化类型 错误描述 错误消息 参数类型 处理建议 严重程度 HTTPCode IPMICode SNMPCode
CannotDeleteLastAdministrator 修改 修改前:Indicates that the last administrator cannot be deleted.修改后:Indicates that the last administrator who can perform operations cannot be deleted. 修改前:The last administrator cannot be deleted.修改后:The last administrator who can perform operations cannot be deleted. Add or enable another administrator and try again. Warning 400 0xD5 5
CannotDisableLastAdministrator 修改 修改前:Indicates that the last administrator cannot be disabled.修改后:Indicates that the last administrator who can perform operations cannot be disabled. 修改前:The last administrator cannot be disabled.修改后:The last administrator who can perform operations cannot be disabled. Add or enable another administrator and try again. Warning 400 0xFF 5

评审结论

同意修改以下两个错误描述与错误消息文本:

1、CannotDeleteLastAdministrator:

错误描述:Indicates that the last administrator who can perform operations cannot be deleted.

错误消息:The last administrator who can perform operations cannot be deleted.

2、CannotDisableLastAdministrator

错误描述:Indicates that the last administrator who can perform operations cannot be disabled.

错误消息:The last administrator who can perform operations cannot be disabled.

遗留问题