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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 9 16:59:22 CET 2010


Author: torsten
Date: 2010-02-09 16:59:21 +0100 (Tue, 09 Feb 2010)
New Revision: 1413

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


Modified: wasko/branches/2.0/mpulsweb/controllers/administration.py
===================================================================
--- wasko/branches/2.0/mpulsweb/controllers/administration.py	2010-02-09 15:58:42 UTC (rev 1412)
+++ wasko/branches/2.0/mpulsweb/controllers/administration.py	2010-02-09 15:59:21 UTC (rev 1413)
@@ -38,6 +38,12 @@
         return render('/administration/overview_user.mako')
 
     @checkRole('admin_ka')
+    def newUser(self):
+        c.form_errors = {}
+        c.form_result = {}
+        return render('/administration/new_user.mako')
+
+    @checkRole('admin_ka')
     def showUser(self, id=None):
         id = self._checkInt(id)
         c.uo = UserObject(id)



More information about the Mpuls-commits mailing list