diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php index a69a6cadf0..2875dc2861 100644 --- a/app/Providers/AuthServiceProvider.php +++ b/app/Providers/AuthServiceProvider.php @@ -230,7 +230,8 @@ class AuthServiceProvider extends ServiceProvider || $user->can('update', Accessory::class) || $user->can('create', Accessory::class) || $user->can('update', User::class) - || $user->can('create', User::class); + || $user->can('create', User::class) + || ($user->hasAccess('reports.view')); });