Update variable name in `hasRole()`