replace old role conditions on views