new user specific groups

I want the users who register
they are not set up a group automaticamante.
so disable the option ..
auth.settings.create_user_groups = False

now I need that users successfully achieve registration are added to the
group type 1 or type 2 .. conditionally speaking

I tried to use:
auth.settings.register_onaccept = mi_funsion

funsion writing a allow this .. I
but I can not pass the funsion new user id

I think I'm clear as to send the parameters to the funsion ..

commented: I have three types of users likely .. which direction to record
via a link. such users must be members of specific groups ..

User bone type 1: group 1, user type2: group2, etc. ..


good thanks
----------------------------------------------

usuario nuevos en grupos especificos

deseo que los usuarios que se registran
no se les cree un grupo automaticamante.
por lo cual desabilite la opcion..
auth.settings.create_user_groups = False

ahora necesito que los usuarios que logren el registro satisfactoriamente se
agregen al grupo tipo1 o tipo2.. condicionalmente hablando

he intentado usar:
auth.settings.register_onaccept = mi_funsion

para escribir una funsion que me permita esto..
pero no logro pasarle a la funsion el id del nuevo usuario

creo que estoy claro como enviar los parametros a la funsion..

comento: tengo 3 tipos de usuarios probables.. que direcciono al registro
mediante un enlace. dichos usuarios deberan ser miembros de grupos
especificos..

osea usuario tipo1: grupo1 , usuario tipo2: grupo2,  etc..


bueno gracias

-- 
Díaz Luis
TSU Analisis de Sistemas
Universidad de Carabobo

Reply via email to