Added reporting-only access for selectlists

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-08-12 20:44:17 +01:00
parent c9f8a84d48
commit b45a8f4b5f

View file

@ -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'));
});