Thanks for the reply. I will update this on the path I chose.

On Thursday, January 16, 2020 at 5:05:32 PM UTC-5, Dave S wrote:
>
>
>
> On Thursday, January 16, 2020 at 5:49:47 AM UTC-8, Aydin wrote:
>>
>> In my web2py app, I want to allow members that have the same key access 
>> the same information. The first user uses a key to register (key added to 
>> the Auth_user) and no verification is needed. Now, when the second user 
>> wants to sign up and uses the same key, I want an email to be sent to the 
>> first user and the first user verifies this registration. What's the 
>> easiest way to do this? By the way, I still use the email approval link for 
>> both first and second users to verify their emails.
>>
>
> I would look at using groups for that.  The first user would create the 
> group (as a side effect of registering the key), and you'd set the First 
> User to be able approve additions to the group.
>
> See auth.add_group() and auth.add_permission() in
> <URL:
> http://www.web2py.com/books/default/chapter/29/09/access-control#Authorization
> >
> in the section before "Decorators".
>
> /dps
>
>

-- 
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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/7e2c4bd6-7683-4534-9153-f38a125f6a30%40googlegroups.com.

Reply via email to