summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-02-11 18:04:04 -0600
committerAdam Young <ayoung@redhat.com>2011-02-15 17:45:46 -0500
commiteb8f091c9bfce3f6d4004bbf214e169aa3f8fe29 (patch)
tree0ee90b8bc6f57a83e6502f29a51e8b3cfd8d5180 /ipalib/plugins
parent1e9f923c495710bb9e9c47b6893e32c7829d3c45 (diff)
downloadfreeipa-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 'ipalib/plugins')
-rw-r--r--ipalib/plugins/service.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipalib/plugins/service.py b/ipalib/plugins/service.py
index e1f54ba4..b832d31f 100644
--- a/ipalib/plugins/service.py
+++ b/ipalib/plugins/service.py
@@ -292,6 +292,9 @@ class service(LDAPObject):
'managedby': ['host'],
}
bindable = True
+ relationships = {
+ 'managedby': ('Managed by', 'man_by_', 'not_man_by_'),
+ }
label = _('Services')