This is one way of solving it (by binding a function to an auth.settings attribute):
# model code def post_register(form): # the new user id is stored in auth.user_id pass auth.settings.register_onaccept = give_create_permission On registration, you can perform auth management by accessing the new user id On 10 mar, 09:37, Vasile Ermicioi <elff...@gmail.com> wrote: > hi, > > currently a new user group is created for each new user after registration, > I disabled new groups to be created > auth.settings.create_user_groups = False > > but actually I need to set all new users to a default user group > > I know I will get a response, :) thank you in advance