Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I found interesting that the Spatie permission package recommends in their docs to include the authorization logic inside policies to encapsulate the code. But if policies are not in the equation feels like authorization ends up being spread across controllers and I didn't find the "laravel way" to do role based authorization besides gates, but even then it seems like a less refined solution than policies.
That'd be great honestly, but I haven't found anything similar yet. I took a look at Bouncer but it doesn't seem to solve the problem either, just resource-based authorization too.