rollerworks-graveyard / app-sectioning

Configuration helper for separating your Symfony application into multiple sections
MIT License
2 stars 1 forks source link

Cannot use parameters in security configuration #15

Closed sstok closed 6 years ago

sstok commented 7 years ago
Q A
Bug report? yes
Feature request? no
BC Break report? yes
RFC? no

Today I finally tried this bundle for myself, but I discovered a rather nasty problem... When you try to use the parameters in the security configuration it fails, the parameters are set with a compiler pass, but the SecurityBundle expects these parameters to exist before this step.

To fix this the actual registering of sections should move back the factory, this means that all configuration for related sections should be kept in the same bundle (custom config trees are still supported). But keeping this configuration in separate bundles is no longer possible.

sstok commented 6 years ago

Resolved by #18