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
{{ message }}
Repository navigation
Overridable controllers, policies and default permissions (RBAC, multi-auth) #9
Done: Route::widgets([guard, prefix, name, middleware, controller]), a controller overridable from widgets.controllers.widgets with saved()/deleted() hooks, and WidgetPolicy for WidgetLocation and the model, registered with Permissions::policy() and overridable. Permissions are view_widgets, edit_widgets and per-location ones. Feature tests cover two guards (web → User, web_admin → Admin) and the overrides.
Activity
n4ff4h commentedon Nov 5, 2026
Done:
Route::widgets([guard, prefix, name, middleware, controller]), a controller overridable fromwidgets.controllers.widgetswithsaved()/deleted()hooks, andWidgetPolicyforWidgetLocationand the model, registered withPermissions::policy()and overridable. Permissions areview_widgets,edit_widgetsand per-location ones. Feature tests cover two guards (web→ User,web_admin→ Admin) and the overrides.