Are you talking about https://github.com/rif/web2admin? If so, in a model 
file that runs after the plugin's model file, you can do:

plugins.web2admin.dbs = (db, dbhome)

The default value for the above is set to (db, ) at 
https://github.com/rif/web2admin/blob/master/models/plugin_web2admin/plugin_web2admin.py#L44,
 
but you can add additional dbs.

Note, though, that it expects Auth to be in the first db listed, and 
functionality related to Auth is limited to the first db listed. If dbhome 
is your only database or the primary database, then list it first.

Anthony


On Wednesday, June 21, 2017 at 6:00:32 AM UTC-4, Maurice Waka wrote:
>
> Its nice to use web2admin to manage groups, permissions etc. 
> I note that i have another table created:
>
> dbhome = DAL('sqlite://healthhome.db', folder='/home/name/web2py')
> dbhome.define_table('home', Fields...)
>
>
> I cant see this table in the web2admin tables shown, and I want to add 
> permissions to it.
> Please assist
> Regards
>

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

Reply via email to