Forums / Developer / Create an EZ package with User Group Role / Policies?
Paul Wilson
Sunday 04 February 2007 4:13:35 pm
Hi,
I'm trying to create a EZ package that includes a user group and its associated roles / policies.
The user group part is easy, but the roles/policies associated just don't get included.
It looks like the ezwebin package for 3.9.0 must do this ... there is a user group "Partners" and associated role/policies.
Anyone know how to do this via the site-admin package system or via raw XML package files?
Thanks.
Sunday 04 February 2007 4:45:06 pm
Actually, just found a post I'd missed before:
To quote Kristof Coomans:
"Unfortunately this is currently not possible." (Tuesday 04 July 2006 12:37:36 pm)
http://ez.no/community/forum/developer/export_roles_and_policies_as_package
Ćukasz Serwatka
Sunday 04 February 2007 11:42:08 pm
Actually comment is a bit old. It is possible to transport roles and policies in packages. However it requires some manual work. You can install eZ Publish 3.9 and take a look on files in ezwebin package (var/storage/packages/ez_systems/ezwebin_site/settings/roles.php and var/storage/packages/ez_systems/ezwebin_site/settings/ezwebininstaller.php)
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog
Saturday 10 February 2007 3:41:02 pm
Thanks Lukasz, that was the clue I needed.