[web2py] Re: Web3py Auth

2019-05-21 Thread villas
Many2many: I think a generic tagging api is a great idea in general for web3py. If we can leverage that for auth groups too, then why not. Clearly a link table adds complexity to all the queries, but if this is properly serviced by the api, then no prob. Hierachical tagging, nested sets alw

[web2py] Re: Web3py Auth

2019-05-21 Thread Leonel Câmara
I use the groups and permissions mechanics extensively in my applications. They're useful for lots of stuff. Sharing can be as simple as giving permission for a record. I also use tags for the same purpose but they're better for stuff which will be changing based on properties of an entity inst

[web2py] Re: Web3py Auth

2019-05-20 Thread 黄祥
> > 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 prototy

[web2py] Re: Web3py Auth

2019-05-20 Thread Massimo Di Pierro
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 wil