I have a bunch of accounts in web2py and I want to create for each a group that additional users could access those accounts. For example, account 1 has a group id 1 and now I want to add additional users to this group. The problem I have is how can I use this group id to authorize. Meaning that when I use @auth.requires_membership(group_id = i) for the same function, i is something that varies. Maybe there is a much better way you can suggest for this need?
-- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/fe549c19-7c01-4999-a7c4-b560fa6a4d46%40googlegroups.com.

