[Mpuls-commits] r1365 - wasko/branches/2.0/waskaweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 9 12:48:10 CET 2010


Author: torsten
Date: 2010-02-09 12:48:10 +0100 (Tue, 09 Feb 2010)
New Revision: 1365

Modified:
   wasko/branches/2.0/waskaweb/controllers/administration.py
Log:
* waskaweb/controllers/administration.py 
  (AdministrationController.editUserGroup): Deleted



Modified: wasko/branches/2.0/waskaweb/controllers/administration.py
===================================================================
--- wasko/branches/2.0/waskaweb/controllers/administration.py	2010-02-09 11:47:03 UTC (rev 1364)
+++ wasko/branches/2.0/waskaweb/controllers/administration.py	2010-02-09 11:48:10 UTC (rev 1365)
@@ -114,26 +114,6 @@
         return render('/administration/account_deactivated.mako')
 
     @checkRole('admin_ka')
-    def editUserGroup(self, id=None):
-        id = self._checkInt(id)
-        factory = UserGroupFactory()
-        group = factory.load(id)
-        memberlist = group.getUser().getUserList()
-        c.form_errors = {}
-        c.form_result = {'name': group.name,
-                         'id': group.id,
-                         'standin': [user.id for user in memberlist]}
-        c.group = group
-        userlist = UserListObject()
-        admins = userlist.getAdminList()
-        c.userlist = userlist.getUserList(filter=[u.id for u in admins])
-        form = render('/administration/edit_usergroup.mako')
-        return htmlfill.render(unicode(form, 'utf-8'),
-                               c.form_result,
-                               c.form_errors,
-                               auto_insert_errors=False)
-
-    @checkRole('admin_ka')
     def editUserGroupAction(self):
         validator = EditUserGroupForm()
         factory = UserGroupFactory()



More information about the Mpuls-commits mailing list