Open flymia opened 2 months ago
We need to rework the check if a aircraft that is to be edited is indeed part of the airline. There is a more "Laravel way" of doing this by adding a policy.
Maybe rework this part using Laravel Policies.
https://laravel.com/docs/11.x/authorization
We need to rework the check if a aircraft that is to be edited is indeed part of the airline. There is a more "Laravel way" of doing this by adding a policy.
Maybe rework this part using Laravel Policies.
https://laravel.com/docs/11.x/authorization