add: ability to list the members of a group while editing a group
[jelmer/swat.git] / swat / controllers / account.py
index dba2bbe44c76e06e20a9d773604bd968ae55d7b4..955585a3c2ca7c4f96749f8b147bf5af0305c241 100644 (file)
@@ -89,7 +89,7 @@ class AccountController(BaseController):
         
         if id == -1:
             is_new = True
-                
+
         ##
         ## Edit a User
         ##
@@ -193,6 +193,7 @@ class AccountController(BaseController):
             c.group = group_manager.edit(id, is_new)
 
             if c.group is not None:
+                c.user_group_list = self.__manager.get_users_in_group(id)
                 template = "/default/derived/edit-group.mako"
             else:
                 type = "critical"