I'm in agreement that you should use the web2py auth tables. What I was suggesting is the you don't 'pre-register' the user in the auth tables until they actually sign in and create their account. After the user actually registers, intercept the next page they are going to and setup the permissions then based on the email that you cached in a table when the initial notification came out.
Does that make any sense, or am I misunderstanding or not articulating my point well enough? -Jim On Fri, Mar 7, 2014 at 2:29 PM, Horst Horst <[email protected]> wrote: > I'd prefer to use the auth tables which are already in place, because > eventually not only permissions, but also group membership of the invited > user should be pre-arranged depending on the permissions and memberships of > the inviting user. > > It seems rather simple to me: Instead of creating a new user, the existing > placeholder user (who has only the email address field filled in) would be > updated on registration. > > Am Freitag, 7. März 2014 15:25:06 UTC+1 schrieb Jim S: >> >> I would play around with this: >> >> auth.settings.register_next >> >> >> First off, I wouldn't 'pre-register' my users. Rather, I would put their >> email address in a table and have it sit there until they register. In the >> controller pointed to by the statement above I'd then check to see if the >> email for the new registration was in the table. If so, setup the required >> permissions then. Once that controller is done, redirect them where they >> need to go. >> >> >> ...just my thoughts on your issue. >> >> >> -Jim >> >> >> >> On Friday, March 7, 2014 8:14:21 AM UTC-6, Horst Horst wrote: >>> >>> I'd like to implement a feature similar to sharing Google docs or >>> Dropbox: If you share something with a non-registered user, he gets a >>> notification email, but once he signed up, the permissions are already in >>> place. >>> >>> Programmatically registering users should be no problem, but how can I >>> show the registration form on their first visit, and have it not complain >>> about the email being already present? >>> >> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/da8gqfLFoYU/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

