Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Scripted ACL for attachments on KB article

rcard11
Tera Guru

Hi all!  Hoping to get some guidance on creating a scripted acl related to knowledge.  The problem we are trying to solve is that if a user is using the "View As" function to view a KB article as one of their direct reports, they do not get access to the attachments on the KB article.  

 

We did create a HI case and they acknowledged this gap and created a PRB for it.  Until that gets solved, we were hoping to create an ACL to allow users who have the View As access to view any attachments on the sys_attachment table that are part of a specific knowledge base.  

 

I was able to get working to only allow access to attachments related to a knowledge article, but need some guidance on how to look up the actual knowledge base of the article attachment and if its not part of a specific knowledge base, access is denied.

 

Thanks in advance!

0 REPLIES 0