sendingtk / chatwoot

Other
56 stars 79 forks source link

hide_unassinged_for_agents and hide_filters_for_agents not working #161

Open laianeramos opened 1 month ago

laianeramos commented 1 month ago

Describe the bug

After v3.13, the functionality to hide chats and filter for agents stopped working.

https://github.com/clairton/chatwoot/releases/tag/v3.13.1-uno: In this version, the two features (hide chats and custom roles) were implemented together, considering that custom roles do not cover the scope of hiding both (all and unassigned) at the same time.

There is already an issue for hide_all: https://github.com/sendingtk/chatwoot/issues/157. The same thing happens with hide_unassinged_for_agents and hide_filters_for_agents

To Reproduce

  1. Enable "hide_all_chats_for_agent"; "hide_unassinged_for_agent"; or "hide_filters_for_agent" in super admin.
  2. Reset frontend cache.
  3. Log in as agent.
  4. Navigate to the conversations panel, and the "all", "unassinged" and "filters" are still there.

Expected behavior

Agents should not be able to see those sections

Environment

Docker

Cloud Provider

None

Platform

None

Operating system

No response

Browser and version

No response

Docker (if applicable)

No response

Additional context

No response