Perspective: Error using hasRole(...) with only 1 argument

I try to avoid double quotes if I can help it, but your original ‘shoulda worked’ works for me:

hasRole('Operator', {session.props.auth.user.userName}, {session.props.auth.idp})