From 642ac0f9979062d4c692df5ae7d9f70f2f33f9d6 Mon Sep 17 00:00:00 2001 From: Joseph Nuthalapati Date: Mon, 4 Jun 2018 12:59:54 +0530 Subject: [PATCH] users: Fix user permissions not being saved Fixes #1299 Signed-off-by: Joseph Nuthalapati Reviewed-by: Sunil Mohan Adapa --- plinth/modules/users/forms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plinth/modules/users/forms.py b/plinth/modules/users/forms.py index 747777aed..0efb537a8 100644 --- a/plinth/modules/users/forms.py +++ b/plinth/modules/users/forms.py @@ -200,6 +200,7 @@ class UserUpdateForm(ValidNewUsernameCheckMixin, if commit: user.save() + self.save_m2m() output = actions.superuser_run('users', ['get-user-groups', self.username])