Hi, the question is: is it achievable to create a permission for a user to be able to
-edit existing pages,
-but not to create new pages and
-not to publish?
Thank you.
Solved! Go to Solution.
Views
Replies
Total Likes
Yes it is pretty much doable:
in http://localhost:4502/useradmin you can provide read and modify access to /content node then your project node to the specific user thats it.
NOTE: if you provide read permission to /content node then, this permission will be available on all the child nodes by default so if you don't want, you can manually remove that permission from the child nodes.
Hope this will help.
Umesh Thakur
Yes it is pretty much doable:
in http://localhost:4502/useradmin you can provide read and modify access to /content node then your project node to the specific user thats it.
NOTE: if you provide read permission to /content node then, this permission will be available on all the child nodes by default so if you don't want, you can manually remove that permission from the child nodes.
Hope this will help.
Umesh Thakur
Hi, thank you for your response!
I am aware of useradmin (AEM / Security). But would granting user permission on a folder prevent from 1) creating new pages under that folder and 2) publishing pages you have access to.
I understand, that if you grant permissions to individual pages, this user will be able to edit the pages. But how to prevent publishing?
Thanks again.
Views
Replies
Total Likes
You have one Replicate option on the user admin page if don't enable that checkbox it means you are not giving permission to that user to replicate any or some certain content.
So in your case you can provide read and modify permission but deny Replicate permission of folder or on certain page.
Hope this will help now.
Umesh Thakur
Views
Replies
Total Likes
Views
Replies
Total Likes
Hi @s-reznikov!
Yes, there should not be any issue with your requirement.
Please check the available Actions in the context of permissions in AEM. You will find that there are dedicated actions for
and permission management (Read ACL, edit ACL).
So the group that you are outlining would need read and modify permissions but not include create and replicate permissions.
Please keep in mind:
See also the documented Best Practices on permission management in AEM.
You can test your permissions using the impersonation feature of AEM or use the CRX Explorer and it's ACE Editor to prototype and test your permission setups.
Hope that helps!
The statements are in general correct, but not 100% complete.
Because editing a page also means adding (or removing) components, so the author needs to be able to add and remove nodes within the page. That results in a more complex ruleset, which can be described like this:
* no jcr:write/jcr:create/jcr:remove permissions in /content (ensure that the user cannot create anything)
* provide jcr:write/jcr:create and jcr:remove permissions on the wildcard /jcr:content/* (allow these things to happen below any node named "jcr:content").
Regarding wildcard ACLs I recommend https://jackrabbit.apache.org/oak/docs/security/authorization/restriction.html (the search term is "rep:glob"), and deploy it with the Netcentric AC Tool (as recommended by Markus).
Views
Likes
Replies
Views
Likes
Replies