From afbf528a838248f9c0a010c5be91faece1bbe743 Mon Sep 17 00:00:00 2001 From: Ana Krivokapic Date: Fri, 25 Oct 2013 16:31:50 +0200 Subject: WebUI: Add userClass attribute to user and host pages Add userClass attribute to: - user and host adder dialogs - user and host detail facets Design page: http://www.freeipa.org/page/V3/Integration_with_a_provisioning_systems https://fedorahosted.org/freeipa/ticket/3590 --- install/ui/src/freeipa/host.js | 2 ++ install/ui/src/freeipa/user.js | 9 +++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'install/ui/src') diff --git a/install/ui/src/freeipa/host.js b/install/ui/src/freeipa/host.js index ff1e5da5..663a39a2 100644 --- a/install/ui/src/freeipa/host.js +++ b/install/ui/src/freeipa/host.js @@ -91,6 +91,7 @@ return { $type: 'textarea', name: 'description' }, + 'userclass', 'l', 'nshostlocation', 'nshardwareplatform', @@ -250,6 +251,7 @@ return { { name: 'other', fields: [ + 'userclass', { name: 'ip_address', validators: [ 'ip_address' ], diff --git a/install/ui/src/freeipa/user.js b/install/ui/src/freeipa/user.js index d2ee3293..c274d315 100644 --- a/install/ui/src/freeipa/user.js +++ b/install/ui/src/freeipa/user.js @@ -110,7 +110,11 @@ return { 'cn', 'displayname', 'initials', - 'gecos' + 'gecos', + { + name: 'userclass', + flags: ['w_if_no_aci'] + } ] }, { @@ -318,7 +322,8 @@ return { required: false }, 'givenname', - 'sn' + 'sn', + 'userclass' ] }, { -- cgit