For pipeline management, we don't want our reps to be able to claim other users leads or see some of the data if they do find a lead someone else owns. We assign all the leads that are imported in the system to PoolUser which is a user that anyone can claim a lead from. I was thinking about using normal permissions so that its owner only, but then overriding it using the record.js to say if Pooluser allowWrite. Would this be the best way to handle this. Tried using teams and all the different security permissions, but I don't think it accomplishes what we need.
Where can I find the documentation for the js I can use to do things like noEditFields etc.