isAllowed view helper implemented