[Mpuls-commits] r417 - in wasko/trunk: . waskaweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Mar 20 10:43:32 CET 2009


Author: torsten
Date: 2009-03-20 10:43:29 +0100 (Fri, 20 Mar 2009)
New Revision: 417

Modified:
   wasko/trunk/ChangeLog.txt
   wasko/trunk/waskaweb/model/user.py
Log:
Fixed issue105


Modified: wasko/trunk/ChangeLog.txt
===================================================================
--- wasko/trunk/ChangeLog.txt	2009-03-20 09:30:25 UTC (rev 416)
+++ wasko/trunk/ChangeLog.txt	2009-03-20 09:43:29 UTC (rev 417)
@@ -4,6 +4,10 @@
 
 	* formed/formedtree_web.xml: new formed tree
 
+	Fixed issue 105
+
+	* waskaweb/model/user.py: only show cm user for standin
+
 2009-03-19	Sascha L. Teichmann <teichmann at intevation.de>
 
 	* waskaweb/model/datapage.py: moved '-' -> '_' replacement to constructor.

Modified: wasko/trunk/waskaweb/model/user.py
===================================================================
--- wasko/trunk/waskaweb/model/user.py	2009-03-20 09:30:25 UTC (rev 416)
+++ wasko/trunk/waskaweb/model/user.py	2009-03-20 09:43:29 UTC (rev 417)
@@ -298,7 +298,7 @@
         return self.needs_passrefresh
 
     def isAdmin(self):
-        return (self.getRole() == "Admin-KA")
+        return (self.getRole() == "Admin")
 
     def shortenedName(self):
         name = []



More information about the Mpuls-commits mailing list