On Tue, 2007-11-06 at 13:16 -0800, Frank Gutiérrez Domínguez wrote:
> Hello:
> I'm working on a site that needs to manage (add/delete/modify) users
> of a proxy server and I'm trying to get advantage of the Django's
> features for these stuff, but I crashed myself to a wall with Django's
> Auth permissions, because their policy goes something like:
> <Permissions are set globally per type of object, not per specific
> object instance. It is 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 or publication date.">
> and I need various levels of authority in users, I mean in a tree with
> something like:
> superuser
>               |_admin
>                          |_navigation users
>                          |_e-mail users
> I need admin can modify navigation and e-mail users, but not
> superusers, because these are above him and in current Django's
> permission you can just let admin modify users (any user, including
> superuser) or otherwise deny him to modify any user (including
> navigation, etc...)
> I wonder if anyone have had this same issue before and if someone has
> a good solution that could send me.

Please post these sorts of questions to django-users. This list is for
the internal development of django itself, not userspace issues. We try
hard to keep the two issues separate.

(It sounds a lot like you're looking for row-level -- a.k.a per-object
-- permissions, though, which is something that was started and not
completed, although some people on django-users sometimes talk about
picking it up again.)

Thanks,
Malcolm


-- 
Borrow from a pessimist - they don't expect it back. 
http://www.pointy-stick.com/blog/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to