'Security constraints prevent access to requested page error' in UI page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2022 02:20 AM
Hi All,
I want to display a ui page for the users with role "sn_customerservice.customer". But getting error "Security constraints prevent access to requested page error" when user with this role is accessing the UI page
Can anyone help me on this
Regards,
Aswathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2022 02:27 AM
Hi Aswathy,
1. Use Debug > Security Rules (with your admin user)
2. Impersonate the user for whom it should work for and open your UI page.
3. Check the ACL/Security logs on the form / debugger window to find ACLs not being passed
Either Role, Condition or Script can cause an ACL to not pass - all must be passed for the ACL to evaluate to TRUE
Hope this helps as an entry point.
Cheers!
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2022 02:50 AM
Hello Martin,
Thanks for the response.
I have checked and there is an existing acl which allows all internal users to access the UI Pages without any restriction.
But the role for which i want to enable the UI page is "sn_customerservice.customer" which contains snc_external role by default.
Can you please help me in this.
Regards,
Aswathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2022 05:46 AM
Hi Aswathy,
if you get that message there must be an ACL preventing the user to access the records. I would go through the whole list of debugging messages and check for read ACLs which are not passed - there should definitely be something.
Should be looking similar to this (red/green dots and table/fields could be different of course):
Regards!
Martin