-
Notifications
You must be signed in to change notification settings - Fork 13.1k
[FIX] allow only livechat-agents to be contact manager for any omnichannel contact #25451
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
Conversation
58a12f3 to
2106bb7
Compare
KevLehman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if some random customer has a non-agent as contact manager? 👀
But that's not the way this feature was designed. The whole idea of the Contact manager is that if that manager is online and the visitor tries to contact the company, then the chat reaches directly to this manager instead of any other agent. So if a non-agent is assigned as a contact manager to any contact, then they won't be able to take the chat (since only agents can serve a chat) - hence I believe we need to add this filter over here to prevent such cases |
|
No no, that's fine. I mean, what happens if some customer already has non-agents as contact managers after this fix is merged 👀 |
@KevLehman I checked this case & I didn't find anything odd. Nothing breaks on the UI, however the only thing is that the existing contact manager (who isn't a agent) won't appear in the select dropdown |
c015992 to
f742551
Compare
|
Making this a draft for now since blocked on agent's page not getting loaded PS: suggestions from the QA team to handle a case for a user losing an agent role. |
f742551 to
44e5877
Compare
|
Hi @KevLehman @RocketChat/chat-engine May I ask for your approvals again? I lost earlier approvals due to some changes which QA team suggested |
…e/split-useUserInfoActions * 'develop' of github.com:RocketChat/Rocket.Chat: (41 commits) Regression: Fix apps wrong typing (#25824) Chore: Remove compose from main repo (#23426) [FIX] `You and @Yourusername reacted with`title on reactions (#25733) [FIX] AgentsPage pagination (#25820) Chore: Move voip's Wrap-up and On-hold functionality to EE (Backend) (#25160) [FIX] Access issue on chat.getThreadsList (#25750) Chore: Remove snap files from Houston config (#25819) [FIX] Voip endpoint permissions (#25783) [FIX] allow only livechat-agents to be contact manager for any omnichannel contact (#25451) Chore: use params instead of URL building on livechat endpoints (#25810) Regression: fix apps path (#25809) [BREAK] Remove RDStation integration (#25774) Chore: RestApiClient as Package (#25469) [FIX] Wrong argument name preventing Omnichannel Chat Forward to User (#25723) [FIX] AccountBox checks for condition (#25708) Chore: Fix CI (#25797) [FIX] Fix prom-client new promise usage (#25781) [FIX] Discussion alphabetical ordering (#25788) Update .kodiak.toml Update .kodiak.toml ...
…homepage * 'develop' of github.com:RocketChat/Rocket.Chat: (21 commits) [FIX] Client-generated sort parameters in channel directory (#25768) Chore: Add tests for agents screens (#25637) Chore: Notification Preferences to TS (#25827) Chore: Convert MemoizedSetting, Setting, Section (#25572) Regression: Fix users.create call (#25834) Chore: Add auto label and improve Kodiak configuration (#25829) Regression: Fix apps wrong typing (#25824) Chore: Remove compose from main repo (#23426) [FIX] `You and @Yourusername reacted with`title on reactions (#25733) [FIX] AgentsPage pagination (#25820) Chore: Move voip's Wrap-up and On-hold functionality to EE (Backend) (#25160) [FIX] Access issue on chat.getThreadsList (#25750) Chore: Remove snap files from Houston config (#25819) [FIX] Voip endpoint permissions (#25783) [FIX] allow only livechat-agents to be contact manager for any omnichannel contact (#25451) Chore: use params instead of URL building on livechat endpoints (#25810) Regression: fix apps path (#25809) [BREAK] Remove RDStation integration (#25774) Chore: RestApiClient as Package (#25469) [FIX] Wrong argument name preventing Omnichannel Chat Forward to User (#25723) ...
Proposed changes (including videos or screenshots)
Issue(s)
Steps to test or reproduce
Further comments
Tasks: