[Mpuls-commits] r5514 - waska/trunk/waskaweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Nov 1 14:16:36 CET 2011


Author: ludwig
Date: 2011-11-01 14:16:36 +0100 (Tue, 01 Nov 2011)
New Revision: 5514

Modified:
   waska/trunk/waskaweb/controllers/logbook.py
Log:
Issue 2402: Renaming of old roles.


Modified: waska/trunk/waskaweb/controllers/logbook.py
===================================================================
--- waska/trunk/waskaweb/controllers/logbook.py	2011-11-01 12:46:41 UTC (rev 5513)
+++ waska/trunk/waskaweb/controllers/logbook.py	2011-11-01 13:16:36 UTC (rev 5514)
@@ -36,7 +36,7 @@
 log = logging.getLogger(__name__)
 
 class LogbookController(LogbookController):
-    @checkRole(('cm_ka'))
+    @checkRole(('cm'))
     def index(self, id):
         return self.overview(id)
 
@@ -119,4 +119,4 @@
         finally:
             db.recycleConnection(conn, cur)
         
-        return render('/logbook/overview.mako')
\ No newline at end of file
+        return render('/logbook/overview.mako')



More information about the Mpuls-commits mailing list