Sex and cystitis

Lucy
My friend has cystitis Which a UTI and she is wondering if it's safe to have anal sex and I am unsure my self so does anyone know if it's OK to have anal while she has the UTI