Profiles c, d and e can be implemented with groups or permissions:
http://web2py.com/book/default/chapter/08#Decorators
http://web2py.com/book/default/chapter/08#Combining-Requirements

If you've tried the above and it doesn't work, post your code to
receive help!
Sometimes after looking at the same thing for too long we tend to miss
something.

On Dec 1, 10:54 pm, Vinicius Assef <vinicius...@gmail.com> 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 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 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 data and his customers' data, too.
> >> c) back-office: can view/edit all sellers' data and any customer's
> >> data, but not financial data.
> >> d) financial-user: can view/edit anybody's financial data.
> >> e) super-user: can view/edit anything, anytime. This is the allmighty
> >> person.
>
> >> If I use the multi-tenancy feature, how can I implement profiles c, d and
> >> e?
> >> As I read in the book, multi-tenancy web2py implements is just
> >> filtering data by request_tenant.default field.
>
> >> --
> >> Vinicius Assef.

Reply via email to