I like the potential flexibility but am not sure what the purpose would be for having a separate auth db? What if you then had multiple auth dbs? Wouldn't you need to decorate controllers with the name of the auth db to search in? Wouldn't there be a performance penalty for opening up links to multiple dbs?
On Jul 24, 2:20 pm, "mr.freeze" <nat...@freezable.com> wrote: > I was attempting to completely separate my auth db from my data db and > realized this isn't currently possible but potentially could be: > > db = DAL('...') > authdb = DAL('...') > auth = Auth(globals(), authdb) > db.define_table('poll',Field('author',auth.settings.table_user)) > > Two questions: > Is this a crazy idea? > Could the DAL be modified to handle this?