From 6c85b88874d099a909c5662a6a32c045439e0b2c Mon Sep 17 00:00:00 2001 From: Ana Krivokapic Date: Thu, 7 Mar 2013 14:12:49 +0100 Subject: Realm Domains page Add support for Realm Domains to web UI. https://fedorahosted.org/freeipa/ticket/3407 --- install/ui/test/data/ipa_init.json | 6 +++++ install/ui/test/data/ipa_init_objects.json | 42 +++++++++++++++++++++++++++++ install/ui/test/data/realmdomains_show.json | 24 +++++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 install/ui/test/data/realmdomains_show.json (limited to 'install/ui/test') diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json index e4d9c2a95..e563c0e5c 100644 --- a/install/ui/test/data/ipa_init.json +++ b/install/ui/test/data/ipa_init.json @@ -398,6 +398,12 @@ "type_ad": "Active Directory domain", "type_local": "Local domain" }, + "realmdomains": { + "identity": "Realm Domains", + "check_dns": "Check DNS", + "check_dns_confirmation": "Do you also want to perform DNS check?", + "force_update": "Force Update" + }, "role": { "identity": "Role Settings" }, diff --git a/install/ui/test/data/ipa_init_objects.json b/install/ui/test/data/ipa_init_objects.json index 6458e4cda..0243c63d4 100644 --- a/install/ui/test/data/ipa_init_objects.json +++ b/install/ui/test/data/ipa_init_objects.json @@ -6026,6 +6026,48 @@ ], "uuid_attribute": "" }, + "realmdomains": { + "aciattrs": [], + "attribute_members": {}, + "bindable": false, + "container_dn": "", + "default_attributes": ["associateddomain"], + "hidden_attributes": [ + "objectclass", + "aci" + ], + "label": "Realm Domains", + "label_singular": "Realm Domains", + "methods": [ + "mod", + "show" + ], + "name": "realmdomains", + "object_class": [ + "domainrelatedobject", + "top", + "nscontainter" + ], + "object_class_config": null, + "object_name": "realmdomains", + "object_name_plural": "realmdomains", + "parent_object": "", + "rdn_attribute": "", + "relationships": {}, + "takes_params": [ + { + "class": "Str", + "doc": "Domain", + "flags": [], + "label": "Domain", + "name": "associateddomain", + "required": true, + "type": "unicode", + "multivalued": true + } + ], + "uuid_attribute": "" + }, "role": { "aciattrs": [ "businesscategory", diff --git a/install/ui/test/data/realmdomains_show.json b/install/ui/test/data/realmdomains_show.json new file mode 100644 index 000000000..84254ba45 --- /dev/null +++ b/install/ui/test/data/realmdomains_show.json @@ -0,0 +1,24 @@ +{ + "error": null, + "id": 0, + "result": { + "result": { + "attributelevelrights": { + "aci": "rscwo", + "cn": "rscwo", + "associateddomain": "rscwo", + "objectclass": "rscwo" + }, + "cn": ["Realm Domains"], + "dn": "cn=Realm Domains,cn=ipa,cn=etc,dc=example,dc=com", + "associateddomain": ["example.com"], + "objectclass": [ + "nsContainer", + "top", + "domainRelatedObject" + ] + }, + "summary": null, + "value": "" + } +} -- cgit