twig extension to show joke action buttons depending on security.context