I am thinking for something. I am thinking of a generic tagging api which wold allow you to tag any object using efficient many2many and use hierarchical tags. You would be able to tag users with group tags and efficiently search groups for users and users by group. I have a prototype but it will not go into the auth.py module. would that be ok?
On Monday, 20 May 2019 08:35:21 UTC-7, villas wrote: > > Hi Massimo > Thanks for the auth implementation. However, I personally think Groups > are an essential feature of any auth. > > As a suggestion, could you please consider at least a slimmed-down version > of Groups. I am thinking simply this: > > - Extra field: auth_user.group_ids list:reference > - Table: auth_group, (id, name) > - Function: is_user_in_groups(user=auth.user, groups=[], all=True) > - if all==False* then 'any'* > - groups could be list of ids or names > > Many thanks for your consideration! D > > -- 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/2e19bc13-3571-484e-bbf5-3e5eb6c26e79%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.