Hopefully I didn't botch the title.
I have a validation rule in place that prevents any ownership reassignments on a certain profile if they do not own the record. We don't care if they change records out of their name to someone else, but we do not want them changing records they don't own into their name. We have this working.
We have an incoming lead queue that assigns these new records into a queue name called "Unassigned Leads".
Here is our current validation rule that works as expected:
AND ( $Profile.Id = "00ej0000000hQQj"
,ISCHANGED(OwnerId)
,OwnerId = $User.Id )
We want the above rules to apply, along with letting our sales staff be able to change these "Unassigned Leads" into their name even though they do not own them. How can I accomplish this?