Will it be implemented in 2.0?

I would like to use something like this, but I don`t know how to do it yet.

Any tips that I can build a manager_group that can manage who belongs to 
the other groups?

Em domingo, 29 de janeiro de 2012 23h17min06s UTC-2, Massimo Di Pierro 
escreveu:
>
> auth.mygroups 
>
> is a dictionary of (key,value) = (group_id,role) 
>
> This makes it easy to create objects like 
>
> db.define_table('thing', 
>     Field('name'), 
>     Field('groups_with_access','list:reference auth_group')) 
>
> and select them with 
>
> mythings = 
> db(db.thing.groups_with_access.contains(auth.mygroups.keys())).select(db.thing.ALL)
>  
>
>
> Before this makes it into stable I would like to hear comments and 
> suggestions for improvement.

Reply via email to