iachat/enterprise/app/models/enterprise
Vishnu Narayanan 20dc4f169c
fix: Do not enforce max_limits if inbox_auto_assignment is disabled (#11849)
# Pull Request Template

## Description

The `auto_assignment` max_limits were being enforced even if the inbox
level `auto_assign` feature was disabled. This was because the
enterprise method was not verifying the feature status before returning
the available agents.

## Type of change

Please delete options that are not relevant.

- [x] Bug fix (non-breaking change which fixes an issue)


## How Has This Been Tested?
- Tested locally
- Added Specs

## Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [x] I have commented on my code, particularly in hard-to-understand
areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] Any dependent changes have been merged and published in downstream
modules
2025-07-01 15:10:39 -07:00
..
account feat: Ability to delete account for administrators (#1874) 2025-04-03 10:41:39 +05:30
audit feat: Add conversation delete feature (#11677) 2025-06-05 15:53:17 -05:00
concerns feat: Voice channel creation Flow (#11775) 2025-06-25 14:21:03 -07:00
account_user.rb feat: Add APIs to manage custom roles in Chatwoot (#9995) 2024-08-23 17:18:28 +05:30
account.rb chore: improve plan-based feature handling with plan hierarchy (#11335) 2025-04-28 14:13:56 -07:00
activity_message_handler.rb feat: Improve Captain interactions, activity messages (#11493) 2025-05-16 19:27:57 -07:00
application_record.rb feat: Add push/email notification support for SLA (#9140) 2024-03-29 20:27:21 +11:00
audit_log.rb chore: Refactor Response Bot Data Schema (#8011) 2023-10-01 19:31:38 -07:00
automation_rule.rb feat: sla-2 add automation backend support for SLA (#8775) 2024-02-01 15:42:12 +05:30
channelable.rb fix: skip auditlogs for whatsapp template sync (#8579) 2024-01-09 21:51:48 -08:00
conversation.rb feat: UI to show the SLA threshold in chat screen (#9146) 2024-04-04 15:46:46 +05:30
inbox.rb fix: Do not enforce max_limits if inbox_auto_assignment is disabled (#11849) 2025-07-01 15:10:39 -07:00