summaryrefslogtreecommitdiffstats
path: root/install/ui/user.js
diff options
context:
space:
mode:
authorPetr Voborník <pvoborni@redhat.com>2012-02-06 14:52:09 +0100
committerPetr Voborník <pvoborni@redhat.com>2012-02-15 09:23:05 +0100
commiteb87b8c31931e682cbb927896d1d60a0266e1263 (patch)
tree0fc668d7d2c3304f64df005468834ca614712de1 /install/ui/user.js
parent651f9324735d0680c6a56246616932459e15b99d (diff)
downloadfreeipa-eb87b8c31931e682cbb927896d1d60a0266e1263.tar.gz
freeipa-eb87b8c31931e682cbb927896d1d60a0266e1263.tar.xz
freeipa-eb87b8c31931e682cbb927896d1d60a0266e1263.zip
UI support for ssh keys
To user and host details pages was added ipasshpubkey attribute. New widget for ssh public keys was created. https://fedorahosted.org/freeipa/ticket/2340
Diffstat (limited to 'install/ui/user.js')
-rw-r--r--install/ui/user.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/install/ui/user.js b/install/ui/user.js
index b1dd8a613..804848947 100644
--- a/install/ui/user.js
+++ b/install/ui/user.js
@@ -91,7 +91,12 @@ IPA.user.entity = function(spec) {
'uidnumber',
'gidnumber',
'loginshell',
- 'homedirectory'
+ 'homedirectory',
+ {
+ type: 'sshkeys',
+ name: 'ipasshpubkey',
+ label: IPA.messages.objects.sshkeystore.keys
+ }
]
},
{
@@ -670,4 +675,4 @@ IPA.user_password_widget = function(spec) {
return that;
};
-IPA.register('user', IPA.user.entity);
+IPA.register('user', IPA.user.entity); \ No newline at end of file