Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Asset report access in AEM 6.4

Avatar

Level 2

Hi,

What are the required permissions for a user to use the Asset reports function?

By Default Administrator can create the Asset reports, I was not able to make other users than admin to create and download the reports.

AEM Version :6.4.2

Reference links:

https://forums.adobe.com/thread/2332458

Provided permissions:

/libs/dam/gui/content/reports

libs/dam/content/reports

Any inputs are very much appreciated.

Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Can you try to give read/write access at /var/dam/reports also



Arun Patidar

View solution in original post

10 Replies

Avatar

Level 2

providing permissions to the below path did not work in our case.

/libs/dam/gui/content/reports

libs/dam/content/reports

[Here is the list of all Adobe forums... https://forums.adobe.com/welcome]

[Moved from Encore DVD creation to AEM forum]

Avatar

Community Advisor

Hi,

I checked in 6.4, it does work if give permission to above path.

What users are getting if they access

http://localhost:4502/mnt/overlay/dam/gui/content/reports/reportspage.html

I checked with new user it works.

Could you please try on vanilla instance or in another version.



Arun Patidar

Avatar

Employee

Hi Arun,

Have you tried giving the users Read, Modify, Create, Delete, Edit ACL, Read ACL and Replication permissions on

/libs/dam/gui/content/reports

/libs/dam/content/reports?

Regards,

Swaroop

Avatar

Community Advisor

Hi,

I've just give read permission to all folders and create, modify and delete permission at report paths.

/libs/dam/gui/content/reports

moreover, I am able to use asset reports but the author of this post is facing the issue.



Arun Patidar

Avatar

Level 2

Hi Arun/swaroop

Thanks for your response

I have tried the functionality on vanilla instance as well.

"ERRORCould not create Job to generate report." is the error message that i see on the page while generating reports

full read permissions for all folders and these are permissions provided Read, Modify, Create, Delete, Edit ACL, Read ACL on below paths

/libs/dam/gui/content/reports

/libs/dam/content/reports?

when i click on create button second time i could the below massage

"Report Generation has been initiated. You will be notified on successful completion."

Adobe Link suggests me admin can generate reports easily not sure about the other users that we create on aem instance with out admin privilegios

Avatar

Correct answer by
Community Advisor

Can you try to give read/write access at /var/dam/reports also



Arun Patidar

Avatar

Level 2

Thanks Arun,

this step worked and able to generate report successfully without any issue.

steps performed

1. created new user

2. provided full read permissions

3. provided full permissions(read,write,delete.acl)

/libs/dam/gui/content/reports

/libs/dam/content/reports

/var/dam/reports

4.tried creating 3 to 4 reports, created reports with out any issue.

Thanks once again for sparing your time

Avatar

Level 2

ACLs required to enable Reports:

Out-of-the-box, only administrators are allowed to access reports. To enable reports for other users you would need following ACLs.

  • To access report list page
    • path: /libs/dam/gui/content/reports
    • permission: allow
    • actions: read
  • To get report tile in tools menu
    • path: /libs/dam/gui/content/nav/tools/assets/assetreports
    • permission: allow
    • actions: read
  • To view asset link share reports
    • path: /var/dam
    • permission: allow
    • actions: read
  • To read/view/delete existing reports and create new reports
    • path: /var/dam/reports
    • permission: allow
    • actions: modify, create, delete
  • For creating new reports
    • path: /libs/dam/gui/content/reports/generatereport
    • permission: allow
    • actions: read

Avatar

Level 4
The above is perfect. It does however require one more:

Avatar

Level 4

@abulqasimkp , thank you. The above you pasted is perfect. It however needs one more:

# For Assets menu item to show under Tools (in LHS panel)
- path: /libs/cq/core/content/nav/tools/assets
permission: allow
actions: read
privileges:
repGlob: