Commit 55d83873 by aa.gusti

Merge branch 'beta-4.2' of https://git.opensipkd.com/aa.gusti/opensipkd-base into beta-4.2

2 parents 97643556 8a5e10cd
......@@ -94,7 +94,9 @@ class Views(BaseView):
def save_request(self, values, row=None):
insert = not row
row = self.save(values, self.req.user, row)
vals = values.copy()
vals.pop('permissions')
row = self.save(vals, self.req.user, row)
existing = group_permission_set(row)
unused = existing - values['permissions']
if unused:
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!