hasPermission('admin.extensions.viewAny'); } /** * Determine whether the user can view the model. */ public function view(User $user): bool { return $user->hasPermission('admin.extensions.view'); } /** * Determine whether the user can update the model. */ public function update(User $user, Extension $extension): bool { return $user->hasPermission('admin.extensions.update'); } }