summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/group.js
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2013-05-06 17:10:56 +0200
committerMartin Kosek <mkosek@redhat.com>2013-05-06 20:44:00 +0200
commit03cdc22c940e82199c2afa8b4a69708237ee0a7a (patch)
tree110721c903eb032702f9980e354eec848fcbaef1 /install/ui/src/freeipa/group.js
parentaedded862dce2c8450d0eef5eca3d854166af06b (diff)
downloadfreeipa-03cdc22c940e82199c2afa8b4a69708237ee0a7a.tar.gz
freeipa-03cdc22c940e82199c2afa8b4a69708237ee0a7a.tar.xz
freeipa-03cdc22c940e82199c2afa8b4a69708237ee0a7a.zip
Resolve SIDs in Web UI
Introduce new command, 'trust-resolve', to aid resolving SIDs to names in the Web UI. The command uses new SSSD interface, nss_idmap, to resolve actual SIDs. SSSD caches resolved data so that future requests to resolve same SIDs are returned from a memory cache. Web UI code is using Dojo/Deferred to deliver result of SID resolution out of band. Once resolved names are available, they replace SID values. Since Web UI only shows ~20 records per page, up to 20 SIDs are resolved at the same time. They all sent within the single request to the server. https://fedorahosted.org/freeipa/ticket/3302
Diffstat (limited to 'install/ui/src/freeipa/group.js')
-rw-r--r--install/ui/src/freeipa/group.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/install/ui/src/freeipa/group.js b/install/ui/src/freeipa/group.js
index 0408d0bc9..5e8cdf991 100644
--- a/install/ui/src/freeipa/group.js
+++ b/install/ui/src/freeipa/group.js
@@ -112,6 +112,7 @@ return {
},
{
$type: 'attribute',
+ $factory: IPA.sid_facet,
name: 'member_external',
attribute: 'ipaexternalmember',
tab_label: 'External',
@@ -280,4 +281,4 @@ exp.register = function() {
phases.on('registration', exp.register);
return exp;
-}); \ No newline at end of file
+});