IDEX-857: add possibility to switch project's visibility
IDEX-706; IDEX-811: merge with master