[web2py] Doubt about multi-tenancy

2011-12-01 Thread Vinicius Assef
I think I'll use web2py multi-tenancy, but I have some doubts: I have different user profiles in my app: a) customer: can view/edit only it's own data. b) seller: can view/edit its own data and his customers' data, too. c) back-office: can view/edit all sellers' data and any customer's data, but

Re: [web2py] Doubt about multi-tenancy

2011-12-01 Thread Nik Go
look for roles, groups and memberships in the book On Thursday, December 1, 2011, Vinicius Assef wrote: I think I'll use web2py multi-tenancy, but I have some doubts: I have different user profiles in my app: a) customer: can view/edit only it's own data. b) seller: can view/edit its own

Re: [web2py] Doubt about multi-tenancy

2011-12-01 Thread Vinicius Assef
I've looked for it and I'm using them. My doubt is about multi-tenancy, but I think it won't help me in this case, because I have users with full access, who don't can count on filtered accesses. -- Vinicius Assef. On Thu, Dec 1, 2011 at 12:44 PM, Nik Go nikolai...@gmail.com wrote: look for

Re: [web2py] Doubt about multi-tenancy

2011-12-01 Thread Nik Go
request_tenant wouldn't fulfill all your requirements, it should work in conjuntion with permissions. On Thursday, December 1, 2011, Vinicius Assef wrote: I've looked for it and I'm using them. My doubt is about multi-tenancy, but I think it won't help me in this case, because I have users

Re: [web2py] Doubt about multi-tenancy

2011-12-01 Thread Vinicius Assef
Actually, may I remake my question. Taking the book example of multi-tenancy, what if I have a role that can read anything, from the tables with multi-tenancy? Is it possible to have queries that don't filter automatically? -- Vinicius Assef. On Thu, Dec 1, 2011 at 1:38 PM, Nik Go