Roles/permissions itemisation?

2019-02-16 18:21发布

问题:

I've been looking for a while now and have done a number of deployments for roles and permissions manually, but is there any way to create a package (or equivalent of) for Roles/Permissions in Sitecore?

It's a seriously tedious job to manually deploy new roles with permissions when you don't have the option to do a full deploy from one environment to the next.

Just curious if anyone's managed to do this or has a way of making this easier?

Cheers

回答1:

User and roles can be added to packages. In the package designer, there is a "Security Accounts" button in the Add ribbon that enables you to add users/roles to the package.

As for permissions, they are stored in the items that they are set on. So to deploy the permissions, you should add the items to the package.



标签: sitecore