Skuid Release 7.35 issue - OwnerId permissions error

  • 1
  • Problem
  • Updated 3 years ago
  • Solved
We are getting a bug in Skuid that says "You do not have permission to update the value of this field: OwnerId" in our Build and Production environment. Our staging environment is a direct copy of our Production environment except the staging is on 7.24. Is there anyway we can roll back to fix this issue or do you guys have any solutions? There doesn't seem to be any errors on our permissions sets. The only difference in the environment is the skuid release. 
Photo of Kyle Mathis

Kyle Mathis

  • 576 Points 500 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,056 Points 20k badge 2x thumb
Official Response
FYI for others following this issue: Kyle got this resolved by adding the Transfer Record permission to the appropriate users' Profiles/Permission Sets.

The cause of this issue was this: In Banzai Update 7, we made some changes to properly enforce the "Transfer Record" Salesforce security permission. Here's how this permission works: if you're currently the Owner of a record (or a member of a Queue that owns a record), you can transfer the record (that is, change its Owner) to whoever you want. You own the record, you have this right! But if you are not currently the Owner of a record, you can't change that record's Owner unless you have the Transfer Record permission (and/or the Transfer Case permission if you're dealing with Cases, or Transfer Lead if you're dealing with Leads). This is a security restriction that is enforced in the native Salesforce UI, but Skuid has not enforced this properly up until the recent release.

So if anyone else is having this issue --- if your users are suddenly unable to change the owner of records that they are not the owners of, you will need to consider adding the Transfer Record permission to these users' Profiles/Permission Sets, otherwise the operation(s) they are performing would violate the Salesforce security model.