Refactor code

This commit is contained in:
wenxu12345 2021-12-29 10:57:48 +08:00
parent 51cb558317
commit 453eddc089

View File

@ -513,7 +513,7 @@ func hasAccess(req *pbGroup.SetGroupInfoReq) bool {
return false
}
if groupUserInfo.RoleLevel == constant.OrdinaryMember {
if groupUserInfo.RoleLevel == constant.GroupAdmin {
return true
}
return false