WL-3158 Disable roleswap unless published

Roleswap doesn't work for unpublished sites so don't provide the option.