Re: [web2py] real name of auth tables

2017-03-20 Thread Richard Vézina
Hello,

I can't say for sure, but I don't see why rname wouldn't work with
auth_table if you customize them, at least it should work with the old way
of customizing as you use define_table to do so and rname is an attribute
of it :

http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#define_table-signature

Richard

On Mon, Mar 13, 2017 at 8:21 AM, Kristján Valur Jónsson 
wrote:

> I see that database tables now have a "rname" field so it is possible to
> add schema addressing to them.
> However, the auth tables don't support it.
> I propose adding auth.settings.table_user_rname etc. attributes
> (defaulting to None) so that one can specify the real table name separately
> from the logical table name.
> Any thoughts?
> K
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] real name of auth tables

2017-03-20 Thread Kristján Valur Jónsson
I see that database tables now have a "rname" field so it is possible to 
add schema addressing to them.
However, the auth tables don't support it.
I propose adding auth.settings.table_user_rname etc. attributes (defaulting 
to None) so that one can specify the real table name separately from the 
logical table name.
Any thoughts?
K

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.