ryancramerdesign / ProcessExportProfile

Creates a site profile that can be used to install a new copy of ProcessWire.
http://processwire.com
20 stars 6 forks source link

Have the option to export users, roles and permissions #15

Open cb2004 opened 1 year ago

cb2004 commented 1 year ago

Can we add a setting to export users, roles and permissions please? I understand this should be left unchecked as default, but we use this module a lot to create a base install for our new sites, which always has the same users from our team, and on every install we have to set them all up again with their permissions.

cb2004 commented 1 year ago

It looks like $fullDump is in place to allow things like this, but the option has not been added to the admin form (as far as I can see). I can see this to 'true' in the module but it would be nice for a few options to be added to the form in the admin.

poljpocket commented 7 months ago

As by the description of the module, it is clearly stated that this is for creating a "profile which can be shared with others". Because of this, it is a bad idea to export users.

Nevertheless, roles are exported but there is a bug with their permissions not being exported. I have posted a PR for this here: #16