Laravel this is not only a practical framework, it is also a programming style
While in policy class I have
public function create(User $user) { return true; }
but I get unauthorized error for unauthenticated users.
So how can I exclude the store method from authorization in authorizeResource?
Aucun commentaire:
Enregistrer un commentaire