Sites Console | Page Properties

Avatar

Avatar
Validate 1
Level 1
mohita82734067
Level 1

Likes

0 likes

Total Posts

8 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 1
View profile

Avatar
Validate 1
Level 1
mohita82734067
Level 1

Likes

0 likes

Total Posts

8 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 1
View profile
mohita82734067
Level 1

07-07-2021

We are on 6.5.8 and have a requirement where-in we need to show page properties to a certain group while ensuring the corresponding group is not able to edit content and edit page properties. However when we provide read access to /content to that group we are not able to see page properties in action tool bar in Sites console. I have also overlayed /libs/wcm/core/content/sites/jcr:content/actions/selection/viewproperties and created a rendercondition to handle the scenario but still it doesnt work. We cant provide modify access to the group. Any pointers?

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,431 likes

Total Posts

3,305 posts

Correct reply

937 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,431 likes

Total Posts

3,305 posts

Correct reply

937 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

07-07-2021

Hi,

you can try creating a sling filter with the component scope and add decorationTag false if user belongs to non-editable component group.

e.g. https://aemlab.blogspot.com/2018/11/aem-restrict-component-editing-and.html

mohita82734067

Thanks @Arun_Patidar for the response. Won't a filter be an unnecessary overhead a minor one though on the system as each request goes through the filter and this would mean not going by Permissions and being dependent on code to provide read only view for component? Also, after this page properties would still be editable? Is there a way to make page properties also not editable? As i mentioned we don't see Properties in actions menu if i give read only to /content to that group and we cant provide create/modify/delete access to the group. Let me know your thoughts

Arun_Patidar
to hide, page properties you need to create a render condition but this will not work for page information menu. I would create a filter that simply redirect users to different mode if user is trying to open page properties or page in edit mode. Filter is an overhead but if in Author that can be justified, end users are not impacted though..
mohita82734067
Thanks @Arun_Patidar for the response. As i mentioned earlier, render condition is not working and we do need the users in a particular group to be able to open page properties but not edit them and going by ACL if a group doesnt have edit permissions page properties were not visible. I was able to identify the code hiding the page properties in action console if edit permissions are not present and was able to overlay the code and make modifications accordingly. Thanks for the support anyways.

Avatar

Avatar
Give Back 5
Level 6
Bhuwan_B
Level 6

Likes

132 likes

Total Posts

124 posts

Correct reply

48 solutions
Top badges earned
Give Back 5
Boost 100
Give Back 3
Affirm 25
Establish
View profile

Avatar
Give Back 5
Level 6
Bhuwan_B
Level 6

Likes

132 likes

Total Posts

124 posts

Correct reply

48 solutions
Top badges earned
Give Back 5
Boost 100
Give Back 3
Affirm 25
Establish
View profile
Bhuwan_B
Level 6

07-07-2021