Re: [web2py] Re: External database query for authentication (RBAC)

2012-05-13 Thread Michele Comitini
You can create a new login_method while keeping the auth tables as usual. The login method will work on the legacy db. The auth table will contain user data in another db, can be sqlite or anything else supported by DAL. Indeed web2py auth tables *do not need to contain secrets*, those can be kept

[web2py] Re: External database query for authentication (RBAC)

2012-05-10 Thread Massimo Di Pierro
In the scaffolding app there is a file db.py which defines for you everything you need for RBAC. If you do not want to use this built-in functionality simply delete the file and use your own API. There is nothing that really depends on it. On Thursday, 10 May 2012 08:17:35 UTC-5, BoleroDan

Re: [web2py] Re: External database query for authentication (RBAC)

2012-05-10 Thread danto
so, I think they can't use auth.methods without defining auth tables first (kind of obvious?) 2012/5/10 Massimo Di Pierro massimo.dipie...@gmail.com In the scaffolding app there is a file db.py which defines for you everything you need for RBAC. If you do not want to use this built-in

Re: [web2py] Re: External database query for authentication (RBAC)

2012-05-10 Thread Massimo Di Pierro
True. gluon/contrib/login_methods only work with auth. On Thursday, 10 May 2012 22:19:46 UTC-5, w2padawan wrote: so, I think they can't use auth.methods without defining auth tables first (kind of obvious?) 2012/5/10 Massimo Di Pierro massimo.dipie...@gmail.com In the scaffolding app