Issue
Symptoms
When a user with the itil, catalog, or approval_admin role accesses the My Approvals module, a message is displayed:
Security constraints prevent access to requested page
Release
All releases.
Cause
The out-of-box table-level read ACL for sysapproval_approver may have been deactivated or modified.
Resolution
- Elevate to the security_admin role.
- Restore the out-of-box table-level read ACL for sysapproval_approver by reactivating it if it was deactivated and/or restoring the script value to its original value:
if (gs.getProperty("glide.approvals.restrict_by_record", "false") == "true")answer = gs.hasRole('approval_admin') || gs.hasRole('itil') || gs.hasRole('catalog') || (isApprovalMine(current) && hasAccessToDocument(current));elseanswer = gs.hasRole('approval_admin') || gs.hasRole('itil') || gs.hasRole('catalog') || isApprovalMine(current) || hasAccessToDocument(current);3. Save the ACL record.