Re: controlling user access

2011-11-17 Thread Mario Gudelj
Thanks for the responses guys. I'll be making a different admin interface for these users and leave the django admin for myself. The admin for these other users will be on http://business1.myurl.com/console/, http://business2.myurl.com/console/and so on. So, the only way I can think of achieving

Re: controlling user access

2011-11-17 Thread Ivo Brodien
Do you want to use the admin for administration? You should not, since the admin is designed to be used by people that can be trusted, although it can be done, by overriding queryset method of the ModelAdmin. As stated before, make a page where a user selects the business and afterwards you que

AW: controlling user access

2011-11-17 Thread Szabo, Patrick (LNG-VIE)
@googlegroups.com Betreff: AW: controlling user access Hi, Well if i understand you correctly it doesnt sound so hard. Every user can have one or more businesses and every artikel can have on business. So you just query for all articles where the business matches one of the businesses the user

AW: controlling user access

2011-11-17 Thread Szabo, Patrick (LNG-VIE)
Von: django-users@googlegroups.com [mailto:django-users@googlegroups.com] Im Auftrag von Mario Gudelj Gesendet: Donnerstag, 17. November 2011 09:14 An: django-users@googlegroups.com Betreff: controlling user access Hi Djangoers, I have a problem on my hands I'm not sure how to approac

controlling user access

2011-11-17 Thread Mario Gudelj
Hi Djangoers, I have a problem on my hands I'm not sure how to approach and would appreciate your guidance. I'm building a site that will host articles for separate businesses and each business will have a user who needs to log in and administer article that only belong to a particular business.