User Unauthorized error when opening HR profile from case in agent workspace


Description

User isn't able to open HR profile from case in agent workspace - getting error in console: User unauthorized

Release or Environment

Paris

Cause


Access Control (ACL) for Table API was active --
When clicking on the "Open HR Profile" icon, the /api/now/table/sn_hr_core_profile API is executed. Because of above ACL, the user is not allowed to run it.

Resolution

Deactivate the ACL for Table API as it is suggested that users should rely on ACLs defined on the underlying data being accessed rather than activating this ACL.
You can review the ACL here:

https://<yourinstancename>.service-now.com/nav_to.do?uri=%2Fsys_security_acl.do%3Fsys_id%3D9ef8bc918733320025fbd1a936cb0bdd

Additional Information

This ACL is deactive OOB