[Fusionforge-commits] r14645 - in trunk: . src/plugins/moinmoin/lib

Roland Mas lolando at fusionforge.org
Fri Oct 14 18:06:39 CEST 2011


Author: lolando
Date: 2011-10-14 18:06:39 +0200 (Fri, 14 Oct 2011)
New Revision: 14645

Modified:
   trunk/
   trunk/src/plugins/moinmoin/lib/fusionforge.py
Log:
Update checking of role permissions so that global and inherited roles also work

Modified: trunk/src/plugins/moinmoin/lib/fusionforge.py
===================================================================
--- trunk/src/plugins/moinmoin/lib/fusionforge.py	2011-10-14 16:06:29 UTC (rev 14644)
+++ trunk/src/plugins/moinmoin/lib/fusionforge.py	2011-10-14 16:06:39 UTC (rev 14645)
@@ -158,7 +158,7 @@
                          AND prs.section_name = '%s'
                          AND groups.unix_group_name = '%s'
                          AND prs.perm_val %s
-                         AND pr.home_group_id = groups.group_id""" \
+                         AND prs.ref_id = groups.group_id""" \
                     % (ucond, section, project_name, condition)
         logging.debug ("get_perm_entries: " + query)
         cur.execute(query)




More information about the Fusionforge-commits mailing list