Good morning Chris. Thank you for the reply. I'm developing a CMS (Content management system). I have 4 sites for 1 customer. For this 4 sites the users are the same, but the inner users (journalist) that write the stories for the CMS can write only for 1 site. Then I need to only bind a group of users (journalist group) to write stories for a unique site.
The permissions that now is possible to specify in django admin doesn't permit to carry out these specific ties. I hope that my explanation is enough clear, otherwise I try to explain it better. Many thanks. MarcoX On 11 Ott, 11:09, Chris Hoeppner <[EMAIL PROTECTED]> wrote: > There *can* be other solutions, but most would be cumbersome and ugly, > like adding a "group" column to each table (the simple way), or using a > polymorphic relationship (the cleaner, leaner, and harder way). > > You'll find yourself coding an authorization system on top of django's. > And when it's done, there is the thing I'd call "let the admin know > about it". > > What kind of system are you pretending to build? Maybe a few more > details could get me on the right track. > > ~ Chris > > El mi?, 10-10-2007 a las 10:20 -0700, MarcoX escribi?: > > > thank you, Chris. > > > The solution of my problem is therefore very difficult to implement. > > The branch of which you speak to me is still in testing. And however > > it seems that it cannot resolve my problem completely. > > Therefore not are others (simpler) solutions? > > > MarcoX > > > On 10 Ott, 18:31, Chris Hoeppner <[EMAIL PROTECTED]> wrote: > > > You'd need row-level permission for that, and that's outside of the > > > admin's intended philosophy. Though, there's such a branch being > > > developed, and I can recall seeing somewhere a django app for that > > > purpose. Just google it and it should pop up. > > > > Also, since row-level permission is not built into the admin in any way, > > > you'd find yourself doing custom admin views, which is neither bad nor > > > hard, but you might feel overwhelmed by the task, since it's a bit hard > > > to grasp at first. > > > > ~Chris > > > > El mi?, 10-10-2007 a las 07:51 -0700, MarcoX escribi?: > > > > > Hi to all, > > > > I have a problem on the configuration of the users in django. > > > > In my plan I have 4 sites. I would want that in the admin view I can > > > > specify for some users the possibility of being able to make > > > > determined actions for determined sites. > > > > For example, the user X can write the object Y only for the site Z. > > > > > Thank you... --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---