use authorization for pages in laravel code example Example: authorization laravel Gate::authorize('update-post', $post); // The action is authorized...