1

I cloned the Administrator profile, removed the Edit permission for some fields on Opportunity Product, and applied the cloned profile to a non-admin user. I logged in as this user and went to a Lightning page that runs backend code that checks permissions using describe information for opportunity product. For some reason, the field that I removed the "Edit" permission from is "Updateable" according to the describe information. Only by removing the "Read" permission for the field as well that "Updateable" returns false, but I want the field to be readable and not editable.

2
  • 3
    Is the permission Edit Read Only Fields provided in System permissions for the profile?
    – manjit5190
    Sep 29 '20 at 18:38
  • @manjit5190 That was it! Thanks.
    – YXY
    Sep 29 '20 at 18:49
3

The administrator profile have permission Edit Read Only Fields provided in System permissions for the profile. This might have got copied over.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.