created im_hr_or_supervisor_p proc that returns true if the current user has view_hr privileges (or in "HR Managers" group) or if the current user in the hierarchy of supervisors from the employee to the CEO (with recursive query used for the hierarchy)