How to allow users to edit experience fragments without allowing them to delete them

Objective

How to allow users to edit experience fragments without allowing them to delete them.

Steps

To block users from deleting experience fragment pages without blocking them from editing, do the following: 

A. Grant the user read access to the /content/experience-fragments:

  1. Go to http://host:port/crx/de/index.jsp and log in as admin.

  2. Browse to and select the node /content/experience-fragments.

  3. In the bottom right panel, select the Access Control tab.

  4. Click the green plus icon to the right to add a new Access Control Policy (the policy already exists if you already see access control entries listed - in that case go on to the next).

  5. Click the green plus icon that shows up after that to add a new Access Control Entry.

  6. Enter a Principal which is the id of the group that you want to grant the access.

  7. Enable the checkbox for jcr:read.

  8. Expand Advanced, under rep:glob enter double quotes "".

  9. Click OK.

B. Add access to modify the desired branch of experience fragments without being able to delete:

  1. Now, also using CRXDe, go to the desired sub-path under /content/experience-fragments, for example /content/experience-fragments/intuit.

  2. In the bottom right panel select the Access Control tab.

  3. Click the green plus icon to the right to add a new Access Control Policy (the policy already exists if you already see access control entries listed - in that case go on to the next step).

  4. Click the green plus icon that shows up after that to add a new Access Control Entry.

  5. Enter a Principal which is the id of the group that you want to grant the access.

  6. Enable the checkbox for jcr:read and rep:write.

  7. Click OK.

  8. Click the green plus icon again to add another Access Control Policy.

  9. Enter the same Principal name as in step 5.

  10. Select Deny for the Type.

  11. Expand Advanced and enable the checkboxes for jcr:removeChildNodes and rep:removeProperties.

C. Grant access to delete items under pages without allowing users to delete experience fragments themselves

  1. Click the green plus icon that shows up after that to add a new Access Control Entry.

  2. Enter a Principal which is the id of the group that you want to grant the access.

  3. Expand Advanced and enable the checkboxes for jcr:removeChildNodes and rep:removeProperties.

  4. Under rep:glob enter */jcr:content*.

  5. Click OK.

  6. Step text

 Adobe

Pyydä apua nopeammin ja helpommin

Oletko uusi käyttäjä?