End user is not able to download attachments from a catalog item.

Harish27
Kilo Guru

Hi ,

We have a few catalog items on which we have attachments like ppt, excel.We moved all these items to test environment with update sets.Attachments were also present on the items after movement.

When we moved these items to test environment ,end user is not able to download attachments present on the item.

End user's doesn't have any roles , they have access to itportal.

When i am impersonating as end user and trying to download the attachment it's just redirecting me to another window and nothing is hapening.

What could be the reason for this?  and is any acl which is restricting end users to download the attachments ?

Please suggest..

5 REPLIES 5

Jaspal Singh
Mega Patron
Mega Patron

Hi Harish,

 

OOB read ACL only allows a user to see any attachment if they have 'ITIL' or any other superior role.

If not then there is an additional check to see if it's User's attachment so as to make it visible. In your case since you imported it would well for 'ITIL' for 'EndU Users' you can modify the read ACL on sys_attachment table so as to make it visible to End Users as well.

Hi Jaspal,

In my case end user doesn't have any role. How can i grant him access to attachment table?

I could have done this gs.getUser().hasRole('test')  if he had any role.?

Please suggest and let me know if there are any other ways as well.

Thank you!!

Hello @Jaspal Singh ,

 

I have also faced the same issue. But this issue is not for non-prod instance.

The issue is happening only in production.

 

Kind Regards,

Atanu Maity

Kunal Varkhede
Tera Guru

Hi Harish,

 

Go through below link @mguy has given a answer on this.

https://community.servicenow.com/community?id=community_question&sys_id=5e670b69db1cdbc01dcaf3231f96...

 

Please Mark Correct/Helpful answer if it help you in any way.

Thanks,

Kunal