Update Groups of Users

1 parent b1244f93
...@@ -69,7 +69,11 @@ class Views(BaseView): ...@@ -69,7 +69,11 @@ class Views(BaseView):
api_key_list=api_key_list, api_key_list=api_key_list,
user=row) user=row)
# company_list=ResCompany.get_list()) # company_list=ResCompany.get_list())
def get_values(self, row, **kw):
d = super().get_values(row, kw)
d["groups"] = existing = user_group_set(row)
return d
# def view_act(self): # def view_act(self):
# url_dict = self.req.matchdict # url_dict = self.req.matchdict
# if url_dict['act'] == 'csv': # if url_dict['act'] == 'csv':
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!