I am running a SS2.0 Suitelet with EXECUTE AS ROLE set to a role I have created called Online Form.
The Suitelet runs a search on a Custom Record Type (Province/State List). That Custom Record type is set up with "Require Custom Record Entries Permission".
On the Online Form role I have added a "full" permission for Province/State List.
However, I still get a INSUFFICIENT PERMISSION error when the search tries to run: Permission Violation: You need a higher permission for custom record type Province/State List to access this page. Please contact your account administrator.
Any thoughts here? The description for "Require Custom Record Entries Permission" says "only users logging in with a role with permission granted to the custom record type can access it"
This role has permission granted to the custom record type so I don't see where the permission error is coming from.