Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Manage Publication only to preview server

Avatar

Level 2

In AEMaaCS, is there a way we can restrict authors to publish only to preview server instead of the publish instance?

 

We have enabled preview instance for our client so under the "Manage Publication" screen, the authors are able to (un)publish to both "Preview" and "Publish" instance. We dont want to authors to accidentally publish to "Publish" instance before publishing to "Preview" instance

1 Accepted Solution

Avatar

Correct answer by
Level 2

This depends on the access rights that are available for your author group. If your author group doesnt have access to replicate contents, you will have to write a custom workflow step where in a system user with replication access will publish the contents to preview on the author's behalf. 

 

If the author group has the necessary replication access, then you can simply customize the manage publication wizard to trigger the OOTB activation process. 

 

https://experienceleague.adobe.com/docs/experience-manager-64/developing/extending-aem/customizing-p...

View solution in original post

2 Replies

Avatar

Community Advisor

I would suggest triggering a workflow whenever an attempt is made to publish instances so as to avoid any accidental pushes.


Avatar

Correct answer by
Level 2

This depends on the access rights that are available for your author group. If your author group doesnt have access to replicate contents, you will have to write a custom workflow step where in a system user with replication access will publish the contents to preview on the author's behalf. 

 

If the author group has the necessary replication access, then you can simply customize the manage publication wizard to trigger the OOTB activation process. 

 

https://experienceleague.adobe.com/docs/experience-manager-64/developing/extending-aem/customizing-p...