Exporting roles & policies to an other instance

Author Message

Nabil Alimi

Friday 24 September 2010 8:15:05 am

Hi,

I've been looking for a way to export roles & policies to an other eZ Publish instance.

It seems that there's 4 tables that rules the roles & policies. Is it "ok" to export those 4 tables (ezpolicy, ezpolicy_limitation, ezpolicy_limitation_value, ezrole), and inject them in the target eZ Publish instance ? There should be not be too much node ids references and such.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Jérôme Vieilledent

Sunday 26 September 2010 12:07:48 pm

Hi Nabil

You can export/import roles with eZXMLInstaller. There is a module bundled with this extension that exports roles in XML (go to http://yourhost.com/xmlexport/roles).

Nabil Alimi

Monday 27 September 2010 1:34:10 am

Thanks Jérôme, looks great ! I'll definitely try this.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.