fixing permissions editing bug on staff page