yes its https://github.com/rif/web2admin

I did insert plugins.web2admin.dbs = (db, dbhome)
in the db.py model but still cant get to see the dbhome table


On Wed, Jun 21, 2017 at 6:32 PM, Anthony <abasta...@gmail.com> wrote:

> 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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/to
> pic/web2py/IfpGixvus88/unsubscribe.
> To unsubscribe from this group and all its topics, 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.

Reply via email to