'Security constraints prevent access to requested page error' in UI page

Aswathy4
Mega Expert

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

3 REPLIES 3

Martin iTSM
Tera Guru

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

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

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):
find_real_file.png

Regards!

Martin