mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-23 11:43:47 -08:00
Added reporting-only access for selectlists
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
c9f8a84d48
commit
b45a8f4b5f
|
@ -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'));
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue