Hi All,
we have a policies stored under "/conf/<path>/settings/wcm/policies" where we have not committed the properties "cq:lastReplicationAction, cq:lastReplicationBy, cq:lastReplicated" for policies. so, when author/authorizer who don't have permission to replicate "/conf" trying to publish a page created using editable template referring the respective policies under "/conf " is giving error stating "not enough rights available to replicate /conf" when trying to publish a page. Could you please let me know what is the correct approach i.e either to commit the above mentioned properties on all policies which will be replaced after every deployment or is there any other way which will not require manual intervention.
The issue we are facing is even if admin publish those templates and policies, they are overriding after every deployment if we use mode=update in filter.xml and if we use mode=merge then newly added component paths in policies are not reflecting in crx/de.
Thanks in advance,
Regards,
Anudeep
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hello @Anudeep_Kumar ,
If you determine to give policies from code and authors will not edit this, it will always be recommended to use default mode mode=replace. Or in some logic, you can use update mode also. But in some scenarios when Author and Code work under /conf it might break your expectation.
The standard practice should be like this:
Hello @Anudeep_Kumar ,
If you determine to give policies from code and authors will not edit this, it will always be recommended to use default mode mode=replace. Or in some logic, you can use update mode also. But in some scenarios when Author and Code work under /conf it might break your expectation.
The standard practice should be like this:
Views
Likes
Replies