diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-02-11 18:04:04 -0600 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-02-15 17:45:46 -0500 |
commit | eb8f091c9bfce3f6d4004bbf214e169aa3f8fe29 (patch) | |
tree | 0ee90b8bc6f57a83e6502f29a51e8b3cfd8d5180 /install/ui/user.js | |
parent | 1e9f923c495710bb9e9c47b6893e32c7829d3c45 (diff) | |
download | freeipa-eb8f091c9bfce3f6d4004bbf214e169aa3f8fe29.tar.gz freeipa-eb8f091c9bfce3f6d4004bbf214e169aa3f8fe29.tar.xz freeipa-eb8f091c9bfce3f6d4004bbf214e169aa3f8fe29.zip |
Fixed association facets.
The association config has been removed because it incorrectly assumes there is only one association between two entities. Now each association is defined separately using association facets.
The service.py has been modified to specify the correct relationships. The API.txt has been updated.
https://fedorahosted.org/freeipa/ticket/960
Diffstat (limited to 'install/ui/user.js')
-rw-r--r-- | install/ui/user.js | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/install/ui/user.js b/install/ui/user.js index f60a511c6..32b79db1f 100644 --- a/install/ui/user.js +++ b/install/ui/user.js @@ -28,14 +28,6 @@ IPA.entity_factories.user = function() { return IPA.entity({ name: 'user' }). - association({ - 'name': 'group', - 'associator': 'serial' - }). - association({ - 'name': 'netgroup', - 'associator': 'serial' - }). facet( IPA.search_facet(). column({name:'cn'}). @@ -90,6 +82,21 @@ IPA.entity_factories.user = function() { section( IPA.stanza({name: 'misc', label: IPA.messages.details.misc}). input({name:'carlicense'}))). + facet( + IPA.association_facet({ + name: 'memberof_group', + associator: IPA.serial_associator + })). + facet( + IPA.association_facet({ + name: 'memberof_netgroup', + associator: IPA.serial_associator + })). + facet( + IPA.association_facet({ + name: 'memberof_role', + associator: IPA.serial_associator + })). standard_associations(); }; |