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

Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: Ales 'alich' Marecek <amarecek@redhat.com>
This commit is contained in:
Petr Vobornik 2015-05-12 17:34:39 +02:00
parent 9b5655607d
commit 2361ac11ad
3 changed files with 9 additions and 1 deletions

View File

@ -424,7 +424,13 @@ return {
},
'givenname',
'sn',
'userclass'
'userclass',
{
$type: 'checkbox',
name: 'noprivate',
label: '@i18n:objects.user.noprivate',
metadata: '@mc-opt:user_add:noprivate'
}
]
},
{

View File

@ -572,6 +572,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",

View File

@ -718,6 +718,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"),