CDB-3103 bugfix. detect if permission not present before doing .to_poro at vis presenter