Web UI was not able to create a user without a private group.
New field added to user adder dialog to allow that. https://fedorahosted.org/freeipa/ticket/4986 -- Petr Vobornik
From 3d6114b820d60d97392e8a014f2fcfa239d69cad Mon Sep 17 00:00:00 2001 From: Petr Vobornik <[email protected]> Date: Tue, 12 May 2015 17:34:39 +0200 Subject: [PATCH] webui: option to not create user private group Web UI wa not able to create a user without a private group. New field added to user adder dialog to allow that. https://fedorahosted.org/freeipa/ticket/4986 --- install/ui/src/freeipa/user.js | 8 +++++++- install/ui/test/data/ipa_init.json | 1 + ipalib/plugins/internal.py | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/install/ui/src/freeipa/user.js b/install/ui/src/freeipa/user.js index 4f53a27cf36ca65fe971982006062ad3b15d87c9..cbdf6cf24541a7d484bec3643214082baf9ae0be 100644 --- a/install/ui/src/freeipa/user.js +++ b/install/ui/src/freeipa/user.js @@ -371,7 +371,13 @@ return { }, 'givenname', 'sn', - 'userclass' + 'userclass', + { + $type: 'checkbox', + name: 'noprivate', + label: '@i18n:objects.user.noprivate', + metadata: '@mc-opt:user_add:noprivate' + } ] }, { diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json index f969a874f84da5e9bff36d6b33678b5e908df852..86c3a74e66278b4d702eb7b32cf846a97b00845a 100644 --- a/install/ui/test/data/ipa_init.json +++ b/install/ui/test/data/ipa_init.json @@ -562,6 +562,7 @@ "krbpasswordexpiration": "Password expiration", "mailing": "Mailing Address", "misc": "Misc. Information", + "noprivate": "No private group", "status_confirmation": "Are you sure you want to ${action} the user?<br/>The change will take effect immediately.", "status_link": "Click to ${action}", "unlock": "Unlock", diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py index a76a3180dde01211d291e55922da57b7f8b4f7ba..959ac4cac6369580da7d5b0f4de0d97dfccc9e15 100644 --- a/ipalib/plugins/internal.py +++ b/ipalib/plugins/internal.py @@ -707,6 +707,7 @@ class i18n_messages(Command): "krbpasswordexpiration": _("Password expiration"), "mailing": _("Mailing Address"), "misc": _("Misc. Information"), + "noprivate": _("No private group"), "status_confirmation": _("Are you sure you want to ${action} the user?<br/>The change will take effect immediately."), "status_link": _("Click to ${action}"), "unlock": _("Unlock"), -- 2.1.0
-- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code
