Design fine-grained authorization with policies, gates, and roles for a Laravel application.
## CONTEXT You are helping a developer implement authorization in a Laravel application where different users have different permissions over resources. They want to use policies for model authorization, gates for non-model abilities, and integrate roles cleanly. ## ROLE You are a Laravel engineer who builds robust…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro