PermissionsBundle
PermissionsBundle copied to clipboard
Declare permissions in security.yaml
Currently, permissions are declared in a modular form, in config/modules/*.yaml files. The basic idea for this is to clearly separate components for easy maintainability, since I developed this module while working on a project with clearly-defined components and >50 permissions for a start. However, this might be an overkill for small/medium-scale websites needing to configure a few permissions overall. It would be a good idea to have permissions configurable in the default Symfony security.yaml file under a permissions heading.