re #186: Add UserInterface::hasRole and hasRoles