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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
0.1.0 (2026-05-21)
⚠ BREAKING CHANGES
roles: passing a role name to assignRole/removeRole/syncRoles without an active organisation context now throws unless global: true is set. Existing call sites that relied on the implicit fallback must either pass global: true, set the organisation context, or assign by Role instance / primary key (both bypass scope resolution).
Features
add spatie/laravel-permission migration command and bulk role assignment API (#4) (7e352dc)
gate pbac:migrate-from-spatie behind an opt-in config flag (dd36c8d)
roles: require explicit global flag for cross-scope role mutations (24098be)