I'm trying to set up a validation that will not allow the PM to be changed by the same level manager or owner (but still be changeable by higher level PM/owner/manager). I can't seem to get that. I have the following:
ischanged($projectManager) && not (isNull(getLInk('ManagerResourceLink',currentObject(),CurrentUser())) && not (currentUser() = $projectmanager ) && not (currentUser() =$manager))
but it is failing on the trickle down permissions from higher level managers (meaning, they can't change a sub project PM).
What am I missing?