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, 2020 at 18:38
  • @manjit5190 That was it! Thanks.
    – YXY
    Sep 29, 2020 at 18:49

1 Answer 1

3

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .