mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Fixed copypasta
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
c1a0653847
commit
2c5abaaea4
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue