3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-05 04:35:28 +00:00

Fixed copypasta

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe
2022-02-11 12:32:09 -08:00
parent c1a0653847
commit 2c5abaaea4

View File

@ -180,7 +180,7 @@ class AuthServiceProvider extends ServiceProvider
// if the user can't view and interact with the select lists.
Gate::define('view.selectlists', function ($user) {
return $user->can('update', Asset::class)
|| $user->can('create', License::class)
|| $user->can('create', Asset::class)
|| $user->can('update', License::class)
|| $user->can('create', License::class)
|| $user->can('update', Component::class)