Encode/Encript data in actions (generator.yml)

13 views
Skip to first unread message

Jesus Gonzalez

unread,
Sep 4, 2014, 4:34:21 PM9/4/14
to symfony2adm...@googlegroups.com
I need to encript, encode or send data hidden to the user, need to do those in the generator.yml

Put some of the code where i need to encript, this is for security reasons.

builders:
    list:
        params:
            title: List for BeneficiarioBundle
            display: [numero,tipoSolicitud]
            actions: ~
            object_actions:
                planilla: {label: Descargar Planilla, route: planilla, icon: 'icon-file', credentials: ROLE_SOLICITANTE}


here is an example for the link that those code generate

http://solicitudes.kernel/app_dev.php/usuario/solicitud/21/planilla

I need something like

http://solicitudes.kernel/app_dev.php/usuario/solicitud/planilla

or

http://solicitudes.kernel/app_dev.php/usuario/solicitud/MjE=/planilla/
Reply all
Reply to author
Forward
0 new messages