[web2py] Re: Auth - overlapping permissions problem

2020-07-26 Thread Joe Barnhart
Having more than one group with the same permissions is no problem at all. In fact, it's kind of the purpose of role-based authentication. I have a web site that features different classes of users who need access to pages. Some groups can access every single page in the site (e.g. 'root' use

[web2py] Autocomplete JSON output format.

2020-07-26 Thread 'Annet' via web2py-users
I've got this rows object as the source of an autocomplete function: rows = db(query).select(db.vtx_vertex.name, left=left, distinct=True, orderby=db.vtx_vertex.name).as_list() result = [r['name'] for r in rows] return response.json(result) This is the autocomplete I'd like to use:: https://www