fix actions for setting permissions; update docs