ezsystems/ezpublish-kernel — pull request #774 by pspanja (2014-03-11 16:30:34+00:00)
Title: EZP-22456: check all potential user groups for inheritance

This PR resolves https://jira.ez.no/browse/EZP-22456

Previously id of ContentType used (in Legacy Stack) as default for creating User Groups was hardcoded for loading ancestor User Groups when fetching inherited roles.

This removes hardcoded id and checks all ancestor Locations as potentially used as User Groups.
Not all of these might actually be User Groups, but checking all removes the need to configure ContentType ids used for User Groups. The same is already done in Legacy Stack, corresponding code can be found here: http://pubsvn.ez.no/doxygen/trunk/LS/html/classeZRole.html#ab71aaf14a1b61ad7d1ed8aa38b0c5f29