The patch was applied
On 28 Giu, 15:12, Jean-Guy <[email protected]> wrote: > Hello, > > I would like to make a subset list of user base on auth_group the user > are associate and use the subset list in a dropbox using multiselect > plugin... > > I already make work properly multiselect plugin with my app... > > I search a way to verify the in which group are users and then show the > list of users of a particular group... > > db.atable.user.requires=IS_IN_DB(db,'auth_user.id','%(first_name)s > %(last_name)s',multiple=True) gives the list of all users > > I try to restrict to user that has a particular membership with > has_membership(), but it seems to work only with "auth" or authentified > user... > > Like this : > auth.has_membership(auth.id_group('gr1')) > > I read this thread : > > http://www.mail-archive.com/[email protected]/msg32444.html > > Not sure if the patch have been apply... I use web2py 1.78 > > And if it is what I am searching for... > > Thank you. > > Jonhy

