Hey,

I did this *exact* same thing for a requirement of one of our clients. We
used an inherited permissions model, but it will require you to
make substantial changes to the authentication system, and doesn't just work
"out of the box".

Best thing to do is to write it up from scratch, then monkey patch the admin
models to use this new permissions layout.

I would paste you some example code, but it's IPR'd by the client, sorry!

Cal

On Sun, Feb 13, 2011 at 3:04 PM, meni <meni.ka...@gmail.com> wrote:

> I'm planning new web App.
>
> Short description of my app:
>
> I have hierarchy of: Company then under it the company subsidiary and
> each subsidiary as few clients each client has few sites and in each site I
> have few Apps.
> Company-> subsidiary1-> ClientX
>                                  |
>                                   -> ClientY-> SiteX
>
>
>
>
>
> I want to use django billet-in Admin site(if i can)as follows:
>
>    1. I want to be able to define for each user/group access only for the
>    level beneath him. for example if user1 is subsidiary1 then he will have
>    access to all the clients he has and all the sites his clients has and all
>    the apps etc. another example if I create user that is on the site level he
>    will only have access to all the apps under the specific site.
>    2.
>
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to