LPS-30036 Allow admins to block users to update their details when imported from LDAP

I changed the logic to solely check the user being edited and not check the user doing the editing. The original feature request was to block users imported from LDAP from editing their details since on reimport their changes would be reverted. This would be the same independent of the user doing the editing, so that's why I went this route.