fix: fix the imAdmin permission (#1664)

* fix: fix the error

* fix: fix the SearchNotificationAccount resp

* fix: fix the god

* Update install-im-server.sh

* Update install-im-server.sh

* fix: fix the searchNotificationAccounts

* fix: fix the imAdmin competence

* fix: fix the error

* fix: fix the checkAdminV3

---------

Co-authored-by: Xinwei Xiong <3293172751@qq.com>
This commit is contained in:
Brabem
2024-01-03 17:24:02 +08:00
committed by GitHub
parent 587533df4d
commit 9e2a256817
6 changed files with 25 additions and 3 deletions
+1 -1
View File
@@ -515,7 +515,7 @@ func (s *userServer) SearchNotificationAccount(ctx context.Context, req *pbuser.
return resp, nil
}
_, users, err := s.UserDatabase.Page(ctx, req.Pagination)
users, err := s.UserDatabase.FindNotification(ctx, constant.AppNotificationAdmin)
if err != nil {
return nil, err
}