[Mpuls-commits] r5516 - base/trunk/mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Nov 2 10:17:22 CET 2011


Author: ludwig
Date: 2011-11-02 10:17:21 +0100 (Wed, 02 Nov 2011)
New Revision: 5516

Modified:
   base/trunk/mpulsweb/controllers/tags.py
Log:
Issue 2402: Renaming of old roles (part2)


Modified: base/trunk/mpulsweb/controllers/tags.py
===================================================================
--- base/trunk/mpulsweb/controllers/tags.py	2011-11-01 13:25:16 UTC (rev 5515)
+++ base/trunk/mpulsweb/controllers/tags.py	2011-11-02 09:17:21 UTC (rev 5516)
@@ -12,11 +12,11 @@
 
 class TagsController(BaseController):
 
-    @checkRole(('admin_ka', 'cm_ka'))
+    @checkRole(('admin', 'cm'))
     def index(self, id):
         return self.overview(id)
 
-    @checkRole(('admin_ka', 'cm_ka'))
+    @checkRole(('admin', 'cm'))
     def overview(self, id):
         defaults = {'tags': []}
         id = self._checkInt(id)
@@ -25,6 +25,6 @@
         form = render('/tags/tags.mako')
         return formencode.htmlfill.render(form)
 
-    @checkRole(('cm_ka'))
+    @checkRole(('cm'))
     def editAction(self):
         pass



More information about the Mpuls-commits mailing list