Permissions import and export not working

The permission import and export are not working. I even tried using the database option cs_permissions, and it is still not working.

Hi WPIDev,

It is not clear from where you are trying to import the permissions. Currently, there is no such option to export or import the Permissions.

Thanks

Used this import

Another way I tried is to copy the options cs_permissions from the database and add them to another site, but it’s not working.

Is there any other way to copy permission from one site to another site?

Hello @WPIDev,

Thank you for the update.

Manually creating the cs_permissions entry in the _options table should work. Copying this value, for example, should grant Editors and Authors additional permissions.

a:3:{s:13:"administrator";a:2:{s:12:"content.post";b:1;s:19:"content.x-portfolio";b:1;}s:6:"editor";a:8:{s:12:"content.page";b:1;s:12:"content.post";b:1;s:19:"content.x-portfolio";b:1;s:6:"layout";b:1;s:9:"component";b:1;s:15:"element-library";b:1;s:8:"template";b:1;s:6:"global";b:1;}s:6:"author";a:6:{s:12:"content.page";b:1;s:12:"content.post";b:1;s:19:"content.x-portfolio";b:1;s:6:"layout";b:1;s:9:"component";b:1;s:15:"element-library";b:1;}}

Where did you place the cs_permissions entry?

Best regards,
Ismael

1 Like

It’s working fine now. Thanks!

Hi @WPIDev,

Glad to know that it is working now.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.