Page Properties Read Only Mode | Adobe Higher Education
Skip to main content
Level 5
December 1, 2022
Besvarat

Page Properties Read Only Mode

  • December 1, 2022
  • 2 svar
  • 1572 visningar

Hi Team,

 

Is there any way that only admin group (A) can modify Page Properties whereas other Editors Group (B) only can see them in READ ONLY Mode.

 

I know that using Render Condition, we can show/hide based on user/group. But how to play with Permission to achieve above.

 

BR,

KTNR

Det här ämnet har stängts för svar.
Bästa svar av aanchal-sikka

Restrict write access to a property (example:pageTitle) by following steps

  • Open CRXDE
  • Browse to /content/we-retail/language-masters/en
  • Click on the Access Control tab
  • Click the green plus
  • Select <some_group> as the principal
  • Select Deny
  • Select rep:write as the privilege
  • Open the Advanced section
  • In the rep:glob field enter */pageTitle
  • Click OK
  • Click Save All

If a user from configured group, will try to update pageTitle, they would get following error:

However, they would be able to save other properties

2 svar

B_Sravan
Community Advisor
Community Advisor
December 1, 2022

Hi @arvind-1 ,

you can give only read permission to the template for the other users through user management and no need to use render conditions to show/hide to certain users, please leverage CUG(closed user group) feature for the same.

User management and administering

CUG

Thank you.

-Sravan

joerghoh
Adobe Employee
Adobe Employee
December 3, 2022

Page properties are stored in the page/jcr:content node, so you should disallow the privilege "writeProperties" on this node (use wildcard ACLs for it at best, see [1]).

 

[1] https://jackrabbit.apache.org/oak/docs/security/authorization/restriction.html

arvind-1Skribent
Level 5
December 4, 2022

@joerghoh @b_sravan

Thank you for Reply.

But Requirement is "NOT ALL, but only few Page Properties should be in read only mode for GROUP B".

aanchal-sikka
Community Advisor
Community Advisor
December 4, 2022

Restrict write access to a property (example:pageTitle) by following steps

  • Open CRXDE
  • Browse to /content/we-retail/language-masters/en
  • Click on the Access Control tab
  • Click the green plus
  • Select <some_group> as the principal
  • Select Deny
  • Select rep:write as the privilege
  • Open the Advanced section
  • In the rep:glob field enter */pageTitle
  • Click OK
  • Click Save All

If a user from configured group, will try to update pageTitle, they would get following error:

However, they would be able to save other properties

Aanchal Sikka