Skip to content

Check edit routes via Laravel Policies instead of manual functions #50

@flymia

Description

@flymia

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

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions