7use Illuminate\Auth\Access\Response;
24 return $user->id === $shortUrl->user_id;
40 return $user->id === $shortUrl->user_id;
48 return $user->id === $shortUrl->user_id;
56 return $user->id === $shortUrl->user_id;
64 return $user->id === $shortUrl->user_id;
update(User $user, ShortUrl $shortUrl)
Determine whether the user can update the model.
restore(User $user, ShortUrl $shortUrl)
Determine whether the user can restore the model.
create(User $user)
Determine whether the user can create models.
viewAny(User $user)
Determine whether the user can view any models.
forceDelete(User $user, ShortUrl $shortUrl)
Determine whether the user can permanently delete the model.
view(User $user, ShortUrl $shortUrl)
Determine whether the user can view the model.