Hide HR case from specific users

ghitabahaj
Tera Expert

Hi everyone,

I’m trying to restrict visibility of HR Lifecycle cases (sn_hr_le_case) for a specific population so that i'll be hidden from the portal as well, but I’m seeing unexpected behavior.

i created one ACL 

GhitaB_0-1769419704575.png

GhitaB_1-1769419707720.png

but when impersonating the user and type sn_hr_le_case.LIST he still can see the cases

1 ACCEPTED SOLUTION

ghitabahaj
Tera Expert

GhitaB_1-1769596445524.png

 

i've updated the ACL to this and remove the script and it worked

 

View solution in original post

15 REPLIES 15

Hi @ghitabahaj,

The following ACL is granting access to all logged in users. Could you please try deactivating it and check? 
MediC_0-1769497732660.png

 


Thanks & Best regards,
Medi

Sabrina Ethridg
ServiceNow Employee

Have you tried using the Access Analyzer tool to determine which ACL is granting access to the user for the specified case?  This will help narrow down if the issue is your custom ACL or the OOB ACLs.

GhitaB_0-1769446645973.png

i've checked with access analyzer and i found out that this OOB ACL that granting access to the record 

GhitaB_1-1769446711251.png

 

Max Dore
ServiceNow Employee

No, I would not use an ACL, I would use the My Request Filters module which is what it is for.

You may need to create a Dynamic Filter Option record.

The option of a Dynamic filter worked for me as well.