We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11108e1 commit f1ba5c2Copy full SHA for f1ba5c2
internal/rpc/user/user.go
@@ -558,7 +558,7 @@ func (s *userServer) userModelToResp(users []*relation.UserModel) *pbuser.Search
558
accounts := make([]*pbuser.NotificationAccountInfo, 0)
559
var total int64
560
for _, v := range users {
561
- if v.AppMangerLevel == constant.AppNotificationAdmin || v.AppMangerLevel == constant.AppAdmin {
+ if v.AppMangerLevel == constant.AppNotificationAdmin {
562
temp := &pbuser.NotificationAccountInfo{
563
UserID: v.UserID,
564
FaceURL: v.FaceURL,
0 commit comments