Thank you pointing me to these docs. In the link: > If that doesn't tickle your fancy, check out the following: > http://docs.djangoproject.com/en/dev/topics/auth/#permissions I found the following statement: For example, it's possible to say "Mary may change news stories," but it's not currently possible to say "Mary may change news stories, but only the ones she created herself" or "Mary may only change news stories that have a certain status, publication date or ID." The latter functionality is something Django developers are currently discussing. That was the nugget I was looking for. I think that my use case falls into the latter, which is currently not available. Good news is, as long as i only support 1 "working area" i should be ok.
-Karlw On Apr 12, 2009, at 3:24 PM, Jacolyte wrote: > > On Apr 12, 8:16 am, Karlw <jowil...@gmail.com> wrote: >> Hey all, >> >> I had a general question about administration in Django. So I do not >> think my situation is unique, so I don't want to go out and make a >> customer solution if there is already something out there. >> >> What i would like to have happen would be to separate my site into >> "working areas", and each working area only has the ability to >> interact with other items in their area. This would keep a user in >> area 1 from interacting with a user in area 2, and furthermore admins >> from doing the same. >> >> A way that I know how to do this would be to roll out a new django >> project for each "working area". But have the "working area" >> solution >> that i have in my head seems to be a bit more elegant. You would >> update the views/models on 1 project instead of having to script a >> deployment across several. >> >> Is there some django app that already has this built in? Any info >> would be helpful. >> >> Best Regards, >> >> Karlw > > If I understood you correctly, you just want to restrict areas of a > website, such as apps or certain models. If that's the case, check out > the following snippet: > http://www.djangosnippets.org/snippets/334/ > > If that doesn't tickle your fancy, check out the following: > http://docs.djangoproject.com/en/dev/topics/auth/#permissions > > and > http://docs.djangoproject.com/en/dev/ref/models/options/#permissions > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---