[users] Create all the groups needed for the user

- 26b8c82630 added the list of all-the-groups-for-the-user,
  but didn't change the list passed to the method that
  creates groups.

FIXES #1488
This commit is contained in:
Adriaan de Groot 2020-08-12 11:20:24 +02:00
parent 1c2cceb3b8
commit f4eac6c86f

View File

@ -196,7 +196,7 @@ CreateUserJob::exec()
{ {
groupsForThisUser << gs->value( "autologinGroup" ).toString(); groupsForThisUser << gs->value( "autologinGroup" ).toString();
} }
ensureGroupsExistInTarget( m_defaultGroups, availableGroups ); ensureGroupsExistInTarget( groupsForThisUser, availableGroups );
// If we're looking to reuse the contents of an existing /home. // If we're looking to reuse the contents of an existing /home.
// This GS setting comes from the **partitioning** module. // This GS setting comes from the **partitioning** module.