Cannot access the Service Portal while impersonating user

C_dric Chen
Tera Contributor

Greetings, everyone.

I need to access a catalogue item that I just created while impersonating as another user (who, I'm very sure, has been assigned the required role). However, when I try to look up the Service Portal while impersonating this other user, here's what I've got:

find_real_file.png

The impersonated user cannot even access the Service Portal.

Does anyone know what's happening?

P.S. I tried looking up the configuration page of the Service Portal, but I couldn't seem to find the correct page.

find_real_file.png

find_real_file.png

1 ACCEPTED SOLUTION

That was maybe a little confusing, to see the modules use sys_app_application.list.

Best is probably to simply override the current Service Portal Module Record as shown in this video (sry, only gif possible in this forum...): 

find_real_file.png

Can you post a screenshot of the error page that you get when you access the service portal with an impersonated user?
If you were just talking about the module - then this should be solved now (if you want users to be automatically redirected to the Service Portal, take a look at the Script Include SPEntryPage). 

View solution in original post

9 REPLIES 9

Jerry kk Wong
Kilo Sage
Kilo Sage

Hi,

Can i check if you have created a new user with no roles?  I created a new user and then impersonated the new user and then visiting https://devXXXXX.service-now.com/sp.

Is the user an exisitng OOTB?

 

Hello.

I did create a new user without assigning her any roles. But I did add this user to a group that contains one of the roles that should've allowed this user to access the record producer (and the app associated to this record producer) that I'm developing.

find_real_file.png

find_real_file.png

Is there a role that I should've added to this user?

Markus Kraus
Kilo Sage

Can you show us the index page (sp_page) that is referenced in the sp_portal record for your "/sp"?

Depending on the Explicit Roles Plugin, User Criteria for Service Portal and/or your current configuration it could be simply that you cannot access the index page. Please show us your 'Roles' value of the sp_page record for your index page.

Additionally it is completely normal and expected that you do not see the Service Portal Menu in the Filter Navigator, as the sys_app_application-record probably does not contain the custom role you've added (my advice would be do create a new module for this instead of touching the OOTB record).

Hello.

Am I looking at the wrong place? Because I can't seem to find sp_portal.

find_real_file.pngfind_real_file.png