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.

Can we restrict a role to navigate to Portal URL?

gazalagrawa
Tera Contributor

Hi All,

 

I have an agent role where the requirement is to restrict this role to stop navigating to Customer Service Portal through URL. In the app navigator the module is not available. The ask is this agent can only access workspace but not portal. Is this possible?

9 REPLIES 9

Yup but it is allowing user to navigate to instanceurl/sp and then pages are restricted. The first initial loaded screen is visible to them. The ask it to restrict any kind of access to the portal. If they are trying to alter the URL they should get 404 or some message.

Ankur Bawiskar
Tera Patron
Tera Patron

@gazalagrawa 

you can make your agents see default workspace when they login using Homepage Redirection

Homepage Redirect Rules in Next Experience 

In case user directly enters something in URL you can always use custom UI script and Ajax to inform them and redirect them to workspace automatically.

for that check this and enhance

Solution: Redirecting Users to the CSM Portal Based on Roles in ServiceNow

💡 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

@gazalagrawa 

Hope you are doing good.

Did my reply answer your question?

💡 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

raviteja1600
Tera Guru

Hi @gazalagrawa ,

 

You achieve this by using the "Page Route Maps" in the Application Navigator.

Product documentation: https://www.servicenow.com/docs/bundle/zurich-employee-service-management/page/product/human-resourc...


You can redirect the user based on their roles to any page with the same url.

 

If the provided solution is helpful, please mark it as helpful and accept the solution.

 

Regards,

Raviteja

Wasif
Tera Guru
Tera Guru

You may configure SPEntryPage script include or whatever the entry page script defined in 'glide.entry.page.script' property to route some users always to portal, or workspace or native views or any other custom configuration required for redirection on instance login