[Mpuls-commits] r1434 - wasko/branches/2.0/mpulsweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Feb 10 10:39:28 CET 2010
Author: torsten
Date: 2010-02-10 10:39:24 +0100 (Wed, 10 Feb 2010)
New Revision: 1434
Modified:
wasko/branches/2.0/mpulsweb/controllers/administration.py
Log:
* mpulsweb/controllers/administration.py
(AdministrationController.editUser): Copied from waskaweb
Modified: wasko/branches/2.0/mpulsweb/controllers/administration.py
===================================================================
--- wasko/branches/2.0/mpulsweb/controllers/administration.py 2010-02-09 19:03:23 UTC (rev 1433)
+++ wasko/branches/2.0/mpulsweb/controllers/administration.py 2010-02-10 09:39:24 UTC (rev 1434)
@@ -75,6 +75,14 @@
c.vuo = UserGroup(c.uo.standin)
return render('/administration/show_user.mako')
+ @checkRole('admin_ka')
+ def editUser(self, id=None):
+ id = self._checkInt(id)
+ c.form_errors = {}
+ c.form_result = {}
+ c.uo = UserObject(id)
+ return render('/administration/edit_user.mako')
+
# USERGROUPS
@checkRole('admin_ka')
def overviewUserGroups(self):
More information about the Mpuls-commits
mailing list