Hi,

If a Trac admin defines user groups, and adds users to it, e.g. via trac-admin
   trac-admin permission add ringo beatles
   trac-admin permission add john beatles
or via authzpolicy.conf
   [groups]
   Beatles = ringo, john
how can I programmatically find out in my plugin sources if the current user 
(e.g. req.authname==”ringo”) is member of the group “beatles”?
Is there a python code example?

CU, F@lk

----
R&D Software
Baumer Optronic GmbH
www.baumer.com<http://www.baumer.com/>



Geschäftsführer: Dr. Albert Schmidt · Dr. Oliver Vietze
Sitz der Gesellschaft: Radeberg
Amtsgericht Dresden: HRB 15379
Ust. ID: DE  189714583




-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-dev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to