11ya/actual-user-bundle
Symfony bundle that keeps user roles and data up to date without forcing re-login. Add ActualUserInterface to your User, switch security to the provided custom user provider, and roles refresh automatically on subsequent requests.
For Executives: "This bundle solves a hidden UX friction point: when admins update user roles, those changes often don’t reflect in live sessions until the user logs out/in. With ActualUserBundle, role updates propagate instantly—no downtime, no re-authentication. For apps where permissions drive core workflows (e.g., SaaS admin panels), this is a 5-minute fix that prevents support tickets and security gaps. Low risk, high ROI."
For Engineering: *"Symfony’s security system caches user roles at login, but dynamic role changes (e.g., via API) leave sessions stale. This bundle hooks into Symfony’s security provider to force-role refresh without session destruction. Implementation is lightweight:
ActualUserInterface in your User entity.security.yml to use the custom provider.
No database changes or complex middleware—just plug-and-play role sync. Ideal for teams prioritizing security over custom auth logic."*How can I help you explore Laravel packages today?