3

I have set permissions to users on the Sitecore security editor

All those User permissions get over written on Unicorn Sync during deployments

enter image description here

I Understand that security is controlled at Item level , Is there a way to ignore only the security field of all items during Unicorn Sync , so that they are not controlled by yaml file but through the security editor in Sitecore.

Please suggest the common practice solve this problem.

1 Answer 1

3

There is a exclude field filter for these purposes.

Usage:

<configuration name="ExcludeConfig" description="Exclude configuration for excluding the Security field">                      
    <fieldFilter type="Rainbow.Filtering.ConfigurationFieldFilter, Rainbow" singleInstance="true">
        <exclude fieldID="{DEC8D2D5-E3CF-48B6-A653-8E69E2716641}" note="'Security' field on Standard Template" />
    </fieldFilter>
</configuration>
1
  • Did it really work? I think fieldFilter is used only for Serializing the item (to Yaml), but not for Deserializing it (To Sitecore DB). You may have to use fieldtransformations for this. Nov 27, 2019 at 12:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.