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
Read assignments stored in the legacy flat form (a plain array of id strings, e.g. written by Maklad) in addition to the structured subdocument form. Previously hasRole(), hasPermissionTo(), roles() and permissions() returned nothing for users whose role_ids/permission_ids were flat string arrays — causing role:/permission: middleware to 403 those users. Both forms now coexist (legacy data works and is upgraded in place on assign). Applied across HasRoles, HasPermissions and PermissionRegistrar via a shared Support\\Entry normaliser.
Added
Support\\Entry helper normalising an entry (flat string or structured array) to {id, team_id, expires_at}.
Note
Single-tenant apps (e.g. Metrix) should set 'teams' => false in config/permission.php.