Best practice to redirect only the Admin role from OOB Service Catalog module to the Service Portal

LalishaRedC
Tera Contributor

 

I have a requirement to modify the OOB Service Catalog module under Self-Service.

Requirement:

  • Users with the admin role should be redirected to the Service Portal catalog homepage.

  • Users with the itil role (and other non-admin users) should be directed to the native Service Catalog view.

What I tried:

  • Restricted the OOB Service Catalog module to the admin role.

  • Created a duplicate module for the itil role and enabled Override application menu roles.

  • Tested both URL and Script link types in the module arguments.

Result:

  • ITIL users see only the ITIL module, which works as expected.

  • Admin users see both modules because the admin role overrides module visibility restrictions.

Since this approach doesn't seem ideal, is there a recommended or best-practice way to achieve this requirement?

Thanks in advance.

2 REPLIES 2

JenniferRah
Mega Sage

I guess my first question is why you would want to restrict an admin user. By definition, it should be able to get to pretty much anything.

All users other than admins, when navigating from the application navigator the service catalog module should be redirected to native catalog default home view. But only for admin user, it should redirect to service portal catalog home page. This is our given requirement.