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
This commit is contained in:
Petr Voborník
2012-02-06 14:52:09 +01:00
parent 651f932473
commit eb87b8c319
15 changed files with 369 additions and 26 deletions

View File

@@ -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);