Laravel Permissions Not Roles

Use when an authorisation check names a role (hasRole/@role) or is written on a fresh permission: never check a role name in code — check a permission (can(), a policy method, a gate).

techmefr Updated

File contents

techmefr/mentis commit a488c53757

Frequently asked questions

npx get-skill add techmefr/laravel-permissions-not-roles