I'm working on a Laravel project that leverages policies for authorization, and this works well when I'm authorizing an entity that has a corresponding model. However, not every entity I want to authorize has a corresponding model.
Is there a way to register a policy without a model (or is that fundamentally incorrect?), or should I take a different approach?
You can with Gates, not with Policies.
Here is Laravel documentation about Gates: