Expand my Community achievements bar.

Join expert-led, customer-led sessions on Adobe Experience Manager Assets on August 20th at our Skill Exchange.
SOLVED

Show/Hide OR Enable/Disable Page Properties Fields Based on User Groups

Avatar

Level 3

We have a requirement to show/hide OR enable/disable Page Properties Fields Based on User Groups. Business don't want to allow everyone to author specific page properties.

 

 

@aanchal-sikka @EstebanBustamante 

@arunpatidar @Shashi_Mulugu 

@lukasz-m @Mahedi_Sabuj 

@kautuk_sahni @Sudheer_Sundalam

@lukasz-m @Rohan_Garg 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
5 Replies

Avatar

Correct answer by
Community Advisor

Avatar

Level 3

Hello @arunpatidar, all the authors have all the access for those pages. Based on some user group criteria, we want to restrict the authoring for only 1-2 fields in the page properties. 

 

The solution suggested by you - if our page is present having path /content/.../.../.../us/en/abc & authors have specific access to us country, then how we would restrict them using granite:RenderConditionsPrivilege.

 

 

Avatar

Community Advisor

HI @S__k__Agarwal 

You can create another group and use that group within rendercondition, provide edit access to relevant users via adding user to this new group.

Arun Patidar

AEM LinksLinkedIn

Avatar

Level 2
Spoiler
We can create groups as CUG then we can override page properties using code as show or hide depends upon user group to which he belongs 

Avatar

Community Advisor

HI @ASHISHIBM 

You don't need a CUG group since this is needed only for authors. Normal groups would do the job.

Arun Patidar

AEM LinksLinkedIn