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

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 > >> In the scaffolding app there is a file db.py w

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 > 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

[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 wrot