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.

Knowledge Article :- Show alternate KB articles when access is restricted

Abhilasha G T
Tera Contributor

Hi Team,

 

If the user does not have access to the Knowledge Base of the viewed article, the system should automatically display articles from other Knowledge Bases the user does have access to—instead of showing an empty page or a ‘security constraints removed’ message.

 

Please suggest solution to my query.

 

Regards,

Abhilasha 

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@Abhilasha G T 

where you want to show this?

share screenshots.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar ,

Please find the screenshots below,

AbhilashaGT_0-1764855516828.pngAbhilashaGT_1-1764855537808.png

 

If the user lacks access to the article’s KB, then show articles from other KBs they do have access to, rather than displaying an empty page or a security constraint message.

 

@Abhilasha G T 

not possible to implement this.

the ACL will restrict what the user is not meant to see and will always show that Security Constraints message

if you use Query BR on that table and have condition in sync with that ACL then that message will be gone.

Using Query BR is the only way to hide that Security Constraints message

check these links

ServiceNow system security: Before you go crazy with “before query Business rule” 

Is “records hidden by security constraints” still a thing after the latest security patch? 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

It is expected behavior, as the message comes from ACL but is evaluated based on user criteria, so nothing can be done here

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************