Hello there,
So, we have a on-prem AEM setup in our environment and this includes both Author and Publishers.
We have noticed that whenever there is a restart or a new bundle/package installation the permissions on Author/publisher gets reset for user everyone and other project specific user and we have to set them manually.
Is there any way to fix this?
Regards,
Nitin
Solved! Go to Solution.
Views
Replies
Total Likes
No that should not happen. Once you create/update the user permission it’s get stored on aem repository. Restarting of aem shouldn’t reset the permissions. I am hoping you are having a persistent/ permanent volume or memory assigned to your server. If your custom package installation is doing the reset of permissions then you need to check your code if there is something in the code that causes this problem.
however you can also use aem repo unit file to set the user permissions by code deployment or you can create the user permissions via acs commons and install it every time you face the problem.
No that should not happen. Once you create/update the user permission it’s get stored on aem repository. Restarting of aem shouldn’t reset the permissions. I am hoping you are having a persistent/ permanent volume or memory assigned to your server. If your custom package installation is doing the reset of permissions then you need to check your code if there is something in the code that causes this problem.
however you can also use aem repo unit file to set the user permissions by code deployment or you can create the user permissions via acs commons and install it every time you face the problem.
Please look for <acHandling> his configuration in your pom.xml. Set it to merge_preserve:
<plugin>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>filevault-package-maven-plugin</artifactId>
<configuration>
<properties>
<cloudManagerTarget>none</cloudManagerTarget>
<acHandling>merge_preserve</acHandling>
</properties>
@nitins12353 Did you find the suggestions from users helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
Views
Likes
Replies