I got it. And how can I put this to only auth_user and auth_group too?
So that Sub-admins can have a sqlform.grid with the users that he can see 
and add others? but only inside his company

Em quarta-feira, 9 de janeiro de 2013 11h34min48s UTC-2, David Marko 
escreveu:
>
> Here is feature description in docs:
>
>
> http://web2py.com/books/default/chapter/29/06?search=tenancy#Common-fields-and-multi-tenancy
>
>
>
> Dne středa, 9. ledna 2013 13:31:59 UTC+1 Fabiano Faver napsal(a):
>>
>> Its my first time dealing with multi tenancy and I'm still a bit confused 
>> how i could implement it with my scenario.
>>
>> I've built a app and want to allow that each 'company' access only their 
>> data. Each company have their user admin that can register 
>> products,things,etc and other users and their groups inside it company.
>>
>> Will i need to put a request tenant in auth_user like said  in this 
>> topic: https://groups.google.com/d/msg/web2py/izyKtM-nWPU/G6EDqyWYuOQJ   
>> ?
>>
>> I want to separate data by company_id
>>
>> How can i start this?
>>
>

-- 



Reply via email to