function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Permissions from customer portal user

Hello, i would be thankfull if someone gives me any idea how to set permissions on custom object to customer portal user profile(or any another).


Now in apex code i tried to update same fields where logged from this profile and have this error:


Delete failed. First exception on row 0 with id a0PQ0000000sQiJMAU; first error: INSUFFICIENT_ACCESS_OR_READONLY, insufficient access rights on object id: []


This is on delete and i have the same on update.


When i open administrative page on those i might check permissions(profile edit page) i was confused because all of checkboxes(read, edit,create, delete) are disabled.


Can someone suggest something? Thank you.


Have you checked the field level permissions and Object Permissions for customer portal profile? You can check field level permissions by going on profile edit page and clicking on view in field level permissions.


Hope this helps.