Restrict user to publish the page from author instance
Hi Team,
Hope you are doing well.
Is there any access rule to restrict author user to publish the page. as currently all content authors are publish the page.
Thanks
Bhagchand Saini
Hi Team,
Hope you are doing well.
Is there any access rule to restrict author user to publish the page. as currently all content authors are publish the page.
Thanks
Bhagchand Saini
Hi @bhagchand!
As mentioned by @sady_rifat and @shaileshbassi already, there are dedicated Access Control Lists (ACLs) available for replication. Please refer to the documentation around User Administration [1] and check for the "Replicate" action.
In general, ACLs can be managed through the authoring UI. However, as outlined by @shaileshbassi it is usually a better idea to manage your groups and their according permissions through code, e. g. as RepoInit [2] scripts or dedicated tools, such as the Netcentric AC Tool [3].
In addition to that, please make sure to manage your ACLs on a group level and avoid assigning permissions to single users (emphasizing/clearing on what @sady_rifats wrote). My recommendation is to start with the OOTB groups [4] that are available within AEM as a starting point and base project-specific groups on these through inheritance by building a hierarchy of group memberships.
Doing so, it is important to only deny on the initial level of your hierarchy (deny as much as possible without breaking anything with regards to general system functionality for the users). Starting from there, more specific groups should allow what ever is required for their respective business use cases. Avoid denying ACLs on deeper levels of the group hierarchy as this will make things much more complex and you might end up with unexpected results (although I admit that it's not 100% avoidable for certain, rare cases).
Hope that helps!
[2] https://sling.apache.org/documentation/bundles/repository-initialization.html
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.