Fix privilege control for editing/deleting users.