Re: [web2py] Re: auth tables rname

2018-07-16 Thread fiubarc
Yes, I use migrate enabled in dev env and I dont use custom table definition. But, dont worry, I just wanted to find a better solution. Since I have it now it works, I will continue like this. Thank you El lunes, 16 de julio de 2018, 11:30:03 (UTC-3), Anthony escribió: > > On Monday, July 16,

Re: [web2py] Re: auth tables rname

2018-07-16 Thread Anthony
On Monday, July 16, 2018 at 8:49:48 AM UTC-4, fiubarc wrote: > > HI! I can not use db.auth._rname before auth.define_tables and > auth.define_tables does not work because it does not find the tables > since they are created in a different scheme than default. > What do you mean "it does not

Re: [web2py] Re: auth tables rname

2018-07-16 Thread Romina Casal
HI! I can not use db.auth._rname before auth.define_tables and auth.define_tables does not work because it does not find the tables since they are created in a different scheme than default. Currently I use customized tables but I wanted to stop doing it since it is more difficult to maintain if

[web2py] Re: auth tables rname

2018-07-13 Thread Anthony
You can try: db.auth_user._rname = ... db.auth_user.first_name._rname = ... Or you can code custom table definitions, as described here: http://web2py.com/books/default/chapter/29/09/access-control#Customizing-Auth Anthony On Friday, July 13, 2018 at 3:36:51 PM UTC-4, fiubarc wrote: > >