In API Platform, I have all the endpoints secured with JWT but I would like to have the POST User public so users can register themselves. How can I do this at entity level? if I implement this in security.yaml as usual in Symfony it works I just would like to know if I can do it at entity level
Tag: symfony-security
Why isn’t InteractiveLoginEvent not fired with Symfony’s 5.1 new security system?
With the new Symfony 5.1 security system, I’m not able to fire the InteractiveLoginEvent. I followed the configuration in the official documentation (here and here) and the system was working …
How to immediately disable access to a user that is soft-deleted or no longer enabled?
In my application, users with the role ROLE_ADMIN are able to manually disable other user accounts, by setting enabled on the user account to false. Using a user checker, the user will not be able …
Symfony Workflow Component and Security Voters?
TL;DR: how can you add custom constraints (i.e. security voters) to transitions? My application needs some workflow management system, so I’d like to try Symfony’s new Workflow Component. Let’s take a Pull Request workflow as an example. In this example, only states and their transitions are describes. But what if I want to add other constraints to this workflow? I