Displaying last 25 incidents created on portal page

Krutika Valanj2
Tera Contributor

Hello Team,

My client want to show last 25 incidents on the portal page for this I have created a custom widget and in Server Script I have written GlideRecord to get last 25 incidents created and display in table format, now when I impersonate with a user that has no role in system this table goes blank and doesn't display any incidents, but I want these 25 incidents to be also visible to the users with no roles.

How can this be solved?

 

 

Thanks

Krutika

2 REPLIES 2

Bhuvan
Kilo Patron

@Krutika Valanj2 

 

Review with your Platform Owner or Security team if this is the approach they would like to proceed as it is not best practices.

 

If they agree, you can create read ACLs for users with no roles. You can refer below articles

 

https://www.servicenow.com/community/servicenow-ai-platform-forum/access-rights-of-users-with-no-rol...

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0961052

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0720034

 

If this helped to answer your query, please mark it helpful & accept the solution. 

 

Thanks,

Bhuvan

@Krutika Valanj2 

 

Did you get a chance to review this as I believe the information provided should answer your question.

 

If my response helped to guide you or answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan