Users with sn_hr_core.basic role are unable to select COE and HR services when creating new HR case

Akshay Patil4
Tera Expert

Hello,

 

When users with role sn_hr_core.basic role tries to create an new HR case from backend the COE and HR service feilds doesn't show any data in it. I have attached screenshot for the same. I have already checked the related ACLs and case creation UI page all looks good. Please provide your inputs if anyone faced similar issue 

 

@Kiel Sanders 

 

AkshayPatil4_0-1694077096438.png

 

1 ACCEPTED SOLUTION

Akshay Patil4
Tera Expert

Hello All,

 

Thank you for your response!! But seems I figured out why this was happening.

 

It seems this is expected behavior as we are impersonating the HR user with basic role. There is OOB read ACL on sn_hr_core_case  table which have the scripted condition to refer script include "hr_CoreUtils" which calls impersonate check function to  check the impersonation property value. If the value is true it won’t display any data. We can change the property value to false so it will allow us to select both COE and HR Service. Though its not recommended to change the property value as this has been set to true to prevent HR data. But in exceptional scenarios such as Upgrade testing we can change it till the time testing get completed.

 

Thanks

Akshay Patil

View solution in original post

5 REPLIES 5

SANDEEP28
Mega Sage

@Akshay Patil4 

Go to user profile, check if use is having below roles

 

SANDEEP28_0-1694265083296.png

 

are you able to create HR case for any other  user ?

 

If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!

 

 

 

Jaspal Singh
Mega Patron
Mega Patron

Hi Akshay,

Just a guess, as the field is not non-mandatory. Can you select HR service directly instead for a check.

John Zhang1
Kilo Patron
Kilo Patron

Hi Akshay,

 

I just create one test user and assigned the  sn_hr_core.basic below.  I impersonate this new user and both COE and HR Services are available when I create HR case

JohnZhang1_0-1694302730613.png

 

 

 

Sandeep Rajput
Tera Patron
Tera Patron

@Akshay Patil4 Try selecting the HR Service first, once selected COE field will populate automatically.