Hi all,
I have a requirement that user with read permission to see the page properties of the page. Currently if I provide just a read permission, page properties option is not visible , we need to provide at least read, modify permissions to see page properties in editor page but we want that user to have only view access of the page but not modify access.
Anyone could please help me with issue
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @shabarish,
I was able to reproduce described issue on AEM 6.5.10, 6.5.8, 6.5.11 - I did not checked others. I have found the root cause - however it looks more like a change in product than bug. Please have a look on details below.
In general Page Properties button on sites level is controlled on backend side via cq-siteadmin-admin-actions-properties-activator class. In other words depending on permissions cq-siteadmin-admin-actions-properties-activator class is set or not.
Each view has its own renderer (e.g jsp file). Column view is using column item - implementation can be found under /libs/cq/gui/components/coral/admin/page/columnitem/columnitem.jsp - and this is actually place where implementation has changed - method getActionRels to be more precise.
This is how it looks on AEM 6.5 (without any service pack)
As you can see the only condition is to check if page is not null. So this is why Page Properties can be seen by users with Read only permissions on AEM 6.5.0 and some other versions.
This is how it looks on AEM 6.5.10 (SP10)
Additional condition has been added, which cause the result you can see. The additional condition checks if user has write privileges.
Solutions
Having above knowledge, I can see following solutions:
You can simply run search on crx/de to find other potential locations that use cq-siteadmin-admin-actions-properties-activator.
Summarizing, I am not sure why above change has been done and exactly in which SP it has been introduced. Nevertheless similar change has been applied on card and table/list view. Also it is not possible to access Page Properties having Read only permission form page editor level. So it looks that this is desired change. If you would like to know detailed justification I would suggest to raise Adobe support ticket.
Hi,
which version of AEM are you using?
AEM 6.5.10
I tried in my local AEMaCS instance also
AEM 6.5.10
I tried in my local AEMaCS instance also.
From product side nothing has changed
I have also tried in 6.5.7 , I can see the page properties if I have read access to the content path and other apps, libs etc. folder
Yes before installing 6.5.10 service pack with read permission it was working fine. Facing the issue after updating to 6.5.10 service pack. Can you please try with 6.5.10 or later or even in AEMaCS
Hi @shabarish,
I was able to reproduce described issue on AEM 6.5.10, 6.5.8, 6.5.11 - I did not checked others. I have found the root cause - however it looks more like a change in product than bug. Please have a look on details below.
In general Page Properties button on sites level is controlled on backend side via cq-siteadmin-admin-actions-properties-activator class. In other words depending on permissions cq-siteadmin-admin-actions-properties-activator class is set or not.
Each view has its own renderer (e.g jsp file). Column view is using column item - implementation can be found under /libs/cq/gui/components/coral/admin/page/columnitem/columnitem.jsp - and this is actually place where implementation has changed - method getActionRels to be more precise.
This is how it looks on AEM 6.5 (without any service pack)
As you can see the only condition is to check if page is not null. So this is why Page Properties can be seen by users with Read only permissions on AEM 6.5.0 and some other versions.
This is how it looks on AEM 6.5.10 (SP10)
Additional condition has been added, which cause the result you can see. The additional condition checks if user has write privileges.
Solutions
Having above knowledge, I can see following solutions:
You can simply run search on crx/de to find other potential locations that use cq-siteadmin-admin-actions-properties-activator.
Summarizing, I am not sure why above change has been done and exactly in which SP it has been introduced. Nevertheless similar change has been applied on card and table/list view. Also it is not possible to access Page Properties having Read only permission form page editor level. So it looks that this is desired change. If you would like to know detailed justification I would suggest to raise Adobe support ticket.
Views
Likes
Replies