ezsystems/ezpublish-kernel — pull request #739 by crevillo (2014-02-16 16:21:46+00:00)
Title: Fix [EZP-22358]: SiteAccessRules setting doesn't work well in the Symfon...

...y Stack

I proposed the following solution without really knowing if its the best option we can take here.

This solution would need the merge of https://github.com/ezsystems/ezpublish-legacy/pull/884 to properly work.

I think we could inject this setting as a merged one. If not, it will override all the rules provided by extensions as salid in the tracker.

what the legacy pull does is just uncomment the settings in the site.ini so we can have it initialized.
This way, we'll get a value in https://github.com/ezsystems/ezpublish-legacy/blob/master/lib/ezutils/classes/ezini.php#L1421 and so the merge with the injected settings can happen in this other if
https://github.com/ezsystems/ezpublish-legacy/blob/master/lib/ezutils/classes/ezini.php#L1429

Please let me know if this could be solved in any other way.