Replies: 1 comment
-
|
Why not just assign department in read only permission? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm facing this issue/request:
We have 3 departments per cities, let's say Tokyo, Madrid and New York, which covers almost all timezones (during work times). Client start to chat with operator assigned to Madrid, finish the chat. Then he start to chat again, but now with New York operator. New York operator want's to load previous client conversation, but due limitation that he is only under New York department, "Chat messages were hidden. You do not have permission to access department" displays.
I want to add new permission like enable to load previous conversation from all departments.
For now, I need to make an override to erLhcoreClassChat class and in hasAccessToRead function remove in_array($chat->dep_id,$userDepartaments) condition.
For now, it's working, but I want to make it more elegant via permission or you need to include it to new release?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions