Убрана wheel группа из списка по умолчанию

develop 3.6.7.1
parent b4481e9d06
commit e9f463d419

@ -327,11 +327,12 @@ class VariableClMigrateData(UserHelper, TableVariable):
def init(self): def init(self):
self.help = _("add a user to the installed system. USER is username. " self.help = _("add a user to the installed system. USER is username. "
"ADMIN is administrator rights (none, all, update, " "ADMIN is administrator rights ({alllist}, "
"none by default). " "{none_value} by default). "
"GROUPS is list user supplimentary groups " "GROUPS is list user supplimentary groups "
"(comma delimeter). " "(comma delimeter). "
"Use 'none' value to discard user migration") "Use '{none_value}' value to discard user migration").format(
alllist="none, update, all", none_value="none")
self.label = _("Migrating users") self.label = _("Migrating users")
def set(self, value): def set(self, value):
@ -397,8 +398,8 @@ class VariableClMigrateAdmin(UserHelper, Variable):
def choice(self): def choice(self):
return [ return [
("", ""), ("", ""),
("all", _("Full access")),
("update", _("System update")), ("update", _("System update")),
("all", _("Full access")),
] ]
@classmethod @classmethod
@ -425,7 +426,7 @@ class VariableClMigrateUserGroups(UserHelper, Variable):
Migrate users groups Migrate users groups
""" """
type = 'choice-list-list' type = 'choice-list-list'
defaultGroupList = sorted(["users", "wheel", "audio", "cdrom", "video", defaultGroupList = sorted(["users", "audio", "cdrom", "video",
"cdrw", "usb", "plugdev", "games", "lp", "scanner", "cdrw", "usb", "plugdev", "games", "lp", "scanner",
"uucp"]) "uucp"])
default_value = "default" default_value = "default"

Loading…
Cancel
Save