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)