Commit 4210c83
committed
Restrict retention policy UI to admins
Update process edit view to only display the case retention policy card when the feature is enabled and the current user is an administrator. The Blade conditional in resources/views/processes/edit.blade.php now requires both config('app.case_retention_policy_enabled') and auth()->user()->is_administrator to prevent non-admins from seeing the retention settings.1 parent c388349 commit 4210c83
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
350 | | - | |
| 350 | + | |
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| |||
0 commit comments