Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dbm-services): 授权内置接口解除同名同密码限制 #6938 #6939

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions dbm-services/mysql/db-priv/service/add_priv.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,6 @@ func (m *PrivTaskPara) AddPriv(jsonPara string, ticket string) error {
// AddPrivWithoutAccountRule 不使用账号规则模版,在mysql实例授权。此接口不被页面前端调用,为后台服务设计。不建议通过此接口授权。
func (m *AddPrivWithoutAccountRule) AddPrivWithoutAccountRule(jsonPara string, ticket string) error {
var clusterType string
if m.Psw == m.User {
return errno.PasswordConsistentWithAccountName
}
psw, err := EncryptPswInDb(m.Psw)
if err != nil {
return err
Expand Down
Loading