Question

I'm developing a django project for small organizations. The organization can register to the site (marked as staff user by site admin), create new users and new services for other registered members. Members can register, login and see what the organization put in their profiles.

Now the problem is that if another organization register to the site, after marked as staff user it will see and can manage members created by other organization registered to the site.

I would like to let any organization registered manage its own members only and hide other organizations registered too.

How can this be done?

Was it helpful?

Solution

I found this: http://www.b-list.org/weblog/2008/dec/24/admin/ at the end he explains how to display objects in the admin site only to objects owners.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top