You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduces a Gate::before handler to support role and permission checks using Laravel's authorization system. Updates the README with usage examples and adds a test to verify that roles and permissions are respected by the new Gate integration.
Copy file name to clipboardExpand all lines: README.md
+20Lines changed: 20 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -251,6 +251,26 @@ You no longer need to stack `jwt.auth` + `load.access` manually—just use `micr
251
251
252
252
---
253
253
254
+
### Authorization
255
+
256
+
This package hooks into Laravel's Gate so Blade directives work with your roles and permissions. Any ability is treated as a permission by default; prefix an ability with `role:` or `permission:` to be explicit.
0 commit comments