File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -620,6 +620,7 @@ class posixAccount extends simplePlugin
620
620
return $ errors ;
621
621
}
622
622
623
+ // This allows to add new groups asignment on top of existing one !
623
624
if (!$ this ->is_template && !class_available ('mixedGroup ' )) {
624
625
/* Take care about groupMembership values: add to groups */
625
626
$ groupMembership = $ this ->attributesAccess ['groupMembership ' ]->getValue ();
@@ -715,7 +716,6 @@ class posixAccount extends simplePlugin
715
716
$ this ->attributesAccess ['mustchangepassword ' ]->setInLdap (FALSE );
716
717
$ this ->attributesAccess ['groupMembership ' ]->setInLdap (FALSE );
717
718
718
- $ this ->savedGroupMembership = $ this ->groupMembership ;
719
719
if (isset ($ this ->attrs ['posixGroups ' ])) {
720
720
unset($ this ->attrs ['posixGroups ' ]['count ' ]);
721
721
$ this ->groupMembership = $ this ->attrs ['posixGroups ' ];
You can’t perform that action at this time.
0 commit comments