And I just tested myself everything works as expected. Operator has assigned "All departments" does not have permission 'lhchat','allowopenremotechat' and chat is active he can't open other operator chat.
]]>You can try to apply this single change https://github.com/LiveHelperChat/liveh … b87eb8ce36 or update to recent LHC version all changes are in github already
Seems that the problem still exists
]]>6. But if Op.A is assigned to the "All Departments" as following.
he can open and read chats owned by Op.B!!
1. A user has access to "department A" and "department B" they are assigne to them
2. Etc...
The only conditions influencing chat opening are these for pending and closed chat.
(Chat is pending AND (chat is assigned to him OR operator has permission lhchat,open_all)) AND operator is a member of chat department.
Chat is assigned to other operator AND operator has permission lhchat,allowopenremotechat so he can open other's operators chats AND operator is a member of chat department.
Roles adjustments takes effect after operator relogins
]]>Please read. Because you are just missing something
https://doc.livehelperchat.com/docs/cha … ermissions
Actually I read that documents carefully before I had the problem. I don't understand what I am missing. I also not sure if you get my point.
But anyway, I just want to share my experience to others who have such issues. So far, for me it's ok to not check the "All Department" and just use "Individual Department".
"allowopenremotechat" permissions influences only chat opening not seeing general chats.
Yes, I know that. Without "allowopenremotechat", one operator should not open/read another operator's chats. But if this operator is assigned to the "All Departments" option, he still can open/read other operators' chats even without the permission of "allowopenremotechat".
]]>Just want to share my experience on this issue in case that others have the same issue.
I find that if an operator is assigned to "All departments", he can see chats owned by other operators, even the permission "allowopenremotechat" is not enabled. Instead, if you only check "Assign as operator" under "Individual departments", he cannot see other operators' chats as the permission not allowed.
Not sure if this is a bug.
You have to check Permission system explanation
If you think to found a bug you can open a GitHub issue https://github.com/LiveHelperChat/livehelperchat/issues