summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorAna Krivokapic <akrivoka@redhat.com>2013-10-25 16:31:50 +0200
committerPetr Viktorin <pviktori@redhat.com>2013-11-19 14:27:50 +0100
commitafbf528a838248f9c0a010c5be91faece1bbe743 (patch)
tree3dc41586928906c502ee26be8b7a921b2d10c9b4 /install
parentb216a7b6106be3a9e4b60144ca237dc3cedd8112 (diff)
downloadfreeipa-afbf528a838248f9c0a010c5be91faece1bbe743.tar.gz
freeipa-afbf528a838248f9c0a010c5be91faece1bbe743.tar.xz
freeipa-afbf528a838248f9c0a010c5be91faece1bbe743.zip
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
Diffstat (limited to 'install')
-rw-r--r--install/ui/src/freeipa/host.js2
-rw-r--r--install/ui/src/freeipa/user.js9
2 files changed, 9 insertions, 2 deletions
diff --git a/install/ui/src/freeipa/host.js b/install/ui/src/freeipa/host.js
index ff1e5da5b..663a39a2e 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 d2ee3293f..c274d3157 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'
]
},
{