The CreatorCon Call for Content is officially open! Get started here.

Can we restrict a role to navigate to Portal URL?

gazalagrawa
Giga 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?

7 REPLIES 7

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

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