Hi,

I'm trying to implement object level permissions as in:
http://djangoadvent.com/1.2/object-permissions/

The problem i'm having is that while it works when calling
user.has_perm('can_read', object)
, but in the template when i attempt to do {% if perms.object.can_read
%}can read{%end if %} my custom user.has_perm does not get called with
the object.

my question is how do i use object level permissions in templates? any
resources, blog posts, etc would be well appreciated.


i want to make it clear that i am not using the default app level,
built in permissions, so telling me to go and add them in the admin
panel will not work.

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