Why have this test if it returns `'staff'` either way?  This seems like a mistake.