In the laravel 6 from scratch video series, there are 2 free authorization videos.
It's not enough to just authenticate, you need to set policies of who can do what.
You have to let authentication work with authorization.
You need something like this spatie example:
spatie example:
public function update(Request $request, Post $post) {
if ($post->author !== auth()->user()->id || auth()->user()->cannot('edit posts'))
abort(404);// or some other
}
}
Just example there, study authorization in the docs, and view some videos.