iachat/enterprise/app/policies
Sojan Jose 9898ccee9e
chore: Enforce custom role permissions on conversation access (#12583)
## Summary
- ensure conversation lookup uses the permission filter before fetching
records
- add request specs covering custom role access to unassigned
conversations

## Testing
- bundle exec rspec
spec/enterprise/controllers/api/v1/accounts/conversations_controller_spec.rb

------
https://chatgpt.com/codex/tasks/task_e_68de1f62b9b883268a54882e608a8bb8
2025-10-22 20:23:37 -07:00
..
captain feat: Add UI for custom tools (#12585) 2025-10-06 09:05:54 -07:00
enterprise chore: Enforce custom role permissions on conversation access (#12583) 2025-10-22 20:23:37 -07:00
account_saml_settings_policy.rb feat: add saml model & controller [CW-2958] (#12289) 2025-09-03 13:30:42 -07:00
agent_capacity_policy_policy.rb feat: Add agent capacity controllers (#12200) 2025-08-26 19:12:58 -07:00
company_policy.rb feat: Add company model and API with tests (#12548) 2025-10-08 07:53:43 -07:00
custom_role_policy.rb feat: Add APIs to manage custom roles in Chatwoot (#9995) 2024-08-23 17:18:28 +05:30
sla_policy_policy.rb feat: SLA CRUD APIs (EE) (#7027) 2023-05-11 22:42:56 +05:30