Hi,

  I would like to retrieve all groups an user belong.

  I want to do this 'cos if the user belong to Group1 and GroupAdmin it
will be able to manage the Group1 which he belongs, but not Group2 (for
example).

  ... but I can't figure out how to get user's groups (something link
user.groups being a list of groups), neither how to implement this idea
only with permissions infrastructure.

  I'm using LDAP auth backend (http://code.djangoproject.com/ticket/11526)
, but I don't want to attach my code to a specific auth backend.

  Thanks in advance for any help!

-- 
Ulysses Almeida
Analista Judiciário - Análise de Sistemas
Secretaria de Tecnologia da Informação - COINF - TRE-MS
ulysses.alme...@tre-ms.gov.br


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