On Fri, May 15, 2009 at 11:20 AM, gustavora...@gmail.com
<gustavora...@gmail.com> wrote:
> Is there any other solution available that would allow row level
> permission?

The Django admin's ModelAdmin class, which you must subclass to
provide an admin interface for your models, has methods (consult
source) which determine whether a given user has permission to edit a
given object. By default these are simply the class-level permissions,
but you are free to override them and will have access to the
individual object to perform whatever checks you like.

Personally, I think this obsoletes any attempt at generic "row-level
permissions" implementations.


-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to