| @@ -12,8 +12,9 @@ | ||
| 12 | 12 | use FluentSupport\App\Models\Person; |
| 13 | 13 | use FluentSupport\App\Modules\Reporting\Reporting; |
| 14 | 14 | use FluentSupport\App\Modules\StatModule; |
| 15 | 15 | use FluentSupport\App\Services\TicketHelper; |
| 16 | +use FluentSupport\App\Services\Tickets\AgentTicketAccess; | |
| 16 | 17 | use FluentSupport\Framework\Support\Arr; |
| 17 | 18 | use Exception; |
| 18 | 19 | |
| 19 | 20 | trait AgentTrait |
| @@ -285,8 +286,9 @@ | ||
| 285 | 286 | 'businessBoxRestrictions' => $businessBoxRestrictions |
| 286 | 287 | ]; |
| 287 | 288 | |
| 288 | 289 | $agent->updateMeta('agent_restrictions', $restrictions); |
| 290 | + AgentTicketAccess::resetCache(); | |
| 289 | 291 | $agent->restrictions = $restrictions; |
| 290 | 292 | } |
| 291 | 293 | |
| 292 | 294 | if (isset($data['agent_signature'])) { |