[Mpuls-commits] r1372 - wasko/branches/2.0/mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 9 14:21:27 CET 2010


Author: torsten
Date: 2010-02-09 14:21:27 +0100 (Tue, 09 Feb 2010)
New Revision: 1372

Modified:
   wasko/branches/2.0/mpulsweb/controllers/administration.py
Log:
* mpulsweb/controllers/administration.py 
  (AdministrationController.newUserGroup): Copied from waskaweb


Modified: wasko/branches/2.0/mpulsweb/controllers/administration.py
===================================================================
--- wasko/branches/2.0/mpulsweb/controllers/administration.py	2010-02-09 13:18:09 UTC (rev 1371)
+++ wasko/branches/2.0/mpulsweb/controllers/administration.py	2010-02-09 13:21:27 UTC (rev 1372)
@@ -45,6 +45,12 @@
         return render('/administration/overview_usergroups.mako')
 
     @checkRole('admin_ka')
+    def newUserGroup(self):
+        c.form_errors = {}
+        c.form_result = {}
+        return render('/administration/new_usergroup.mako')
+
+    @checkRole('admin_ka')
     def showUserGroup(self, id=None):
         factory = UserGroupFactory()
         id = self._checkInt(id)



More information about the Mpuls-commits mailing list