SSP-2667 fixed showByPermission