[Mpuls-commits] r224 - in waska/trunk: . waskaweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Dec 4 16:49:07 CET 2008


Author: frank
Date: 2008-12-04 16:49:05 +0100 (Thu, 04 Dec 2008)
New Revision: 224

Modified:
   waska/trunk/ChangeLog.txt
   waska/trunk/waskaweb/controllers/case.py
Log:
Bugfix: Editors ID was added to groupfilter list instead of GroupID.


Modified: waska/trunk/ChangeLog.txt
===================================================================
--- waska/trunk/ChangeLog.txt	2008-11-25 16:44:00 UTC (rev 223)
+++ waska/trunk/ChangeLog.txt	2008-12-04 15:49:05 UTC (rev 224)
@@ -1,3 +1,10 @@
+2008-12-04	Frank Koormann	<frank.koormann at intevation.de>
+
+	* waskaweb/controllers/case.py (CaseController.organisation):
+	Bugfix: Editors ID was added to groupfilter list instead of GroupID.
+	Since both can differ, some other user (groups) were dropped from the 
+	selection lists under certain situations (GID == Editor's UID).
+
 2008-11-25	Torsten Irlaender  <torsten.irlaender at intevation.de>
 
 	Fixed issue671

Modified: waska/trunk/waskaweb/controllers/case.py
===================================================================
--- waska/trunk/waskaweb/controllers/case.py	2008-11-25 16:44:00 UTC (rev 223)
+++ waska/trunk/waskaweb/controllers/case.py	2008-12-04 15:49:05 UTC (rev 224)
@@ -580,7 +580,7 @@
 
         # group list for standin
         filter = [u.gid for u in ulist.getAdminList()]
-        filter.append(c.editor.id)
+        filter.append(c.editor.gid)
         filter2 = filter[:]
         filter.append(c.current_user.gid)
         c.group_list  = list.getGroupList(filter)



More information about the Mpuls-commits mailing list