diff options
| author | Endi S. Dewata <edewata@redhat.com> | 2011-11-11 22:33:05 -0600 |
|---|---|---|
| committer | Adam Young <ayoung@redhat.com> | 2011-11-14 16:47:08 -0500 |
| commit | d6d24be28953f2ec3cf1f2400619fd61459cf45f (patch) | |
| tree | 3a0db972a38a37b417a0aaba3c1b38ecf60e4cb9 /install/ui/test | |
| parent | 0f34e0bf82d5e0bf905ac8af7257d2f33d72d9a0 (diff) | |
| download | freeipa-d6d24be28953f2ec3cf1f2400619fd61459cf45f.tar.gz freeipa-d6d24be28953f2ec3cf1f2400619fd61459cf45f.tar.xz freeipa-d6d24be28953f2ec3cf1f2400619fd61459cf45f.zip | |
Refactored permission target section.
The permission target section has been modified to use widgets
to create the target selection and handle multiple fields.
Ticket #2098
Diffstat (limited to 'install/ui/test')
| -rw-r--r-- | install/ui/test/aci_tests.js | 2 | ||||
| -rw-r--r-- | install/ui/test/data/ipa_init.json | 6 | ||||
| -rw-r--r-- | install/ui/test/data/permission_show_filter.json | 6 | ||||
| -rw-r--r-- | install/ui/test/data/permission_show_subtree.json | 6 | ||||
| -rw-r--r-- | install/ui/test/data/permission_show_type.json | 6 |
5 files changed, 17 insertions, 9 deletions
diff --git a/install/ui/test/aci_tests.js b/install/ui/test/aci_tests.js index 10b76aefc..2ff1acddd 100644 --- a/install/ui/test/aci_tests.js +++ b/install/ui/test/aci_tests.js @@ -37,7 +37,7 @@ module('aci',{ ); target_container = $('<div id="target"/>').appendTo(document.body); - target_section = IPA.target_section({ + target_section = IPA.permission_target_section({ name: 'target', label: 'Target', entity:entity diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json index 830b2d633..abaf4a78f 100644 --- a/install/ui/test/data/ipa_init.json +++ b/install/ui/test/data/ipa_init.json @@ -253,14 +253,10 @@ "identity": "Netgroup Settings" }, "permission": { - "filter": "Filter", "identity": "Identity", "invalid_target": "Permission with invalid target specification", "rights": "Rights", - "subtree": "By Subtree", - "target": "Target", - "targetgroup": "Target Group", - "type": "Object By Type" + "target": "Target" }, "privilege": { "identity": "Privilege Settings" diff --git a/install/ui/test/data/permission_show_filter.json b/install/ui/test/data/permission_show_filter.json index a7390b4dd..c32bfb7b8 100644 --- a/install/ui/test/data/permission_show_filter.json +++ b/install/ui/test/data/permission_show_filter.json @@ -8,13 +8,17 @@ "businesscategory": "rscwo", "cn": "rscwo", "description": "rscwo", + "filter": "rscwo", "member": "rscwo", "nsaccountlock": "rscwo", "o": "rscwo", "objectclass": "rscwo", "ou": "rscwo", "owner": "rscwo", - "seealso": "rscwo" + "seealso": "rscwo", + "subtree": "rscwo", + "targetgroup": "rscwo", + "type": "rscwo" }, "cn": [ "filter" diff --git a/install/ui/test/data/permission_show_subtree.json b/install/ui/test/data/permission_show_subtree.json index 24255d4e9..af39e45b2 100644 --- a/install/ui/test/data/permission_show_subtree.json +++ b/install/ui/test/data/permission_show_subtree.json @@ -8,13 +8,17 @@ "businesscategory": "rscwo", "cn": "rscwo", "description": "rscwo", + "filter": "rscwo", "member": "rscwo", "nsaccountlock": "rscwo", "o": "rscwo", "objectclass": "rscwo", "ou": "rscwo", "owner": "rscwo", - "seealso": "rscwo" + "seealso": "rscwo", + "subtree": "rscwo", + "targetgroup": "rscwo", + "type": "rscwo" }, "cn": [ "subtree" diff --git a/install/ui/test/data/permission_show_type.json b/install/ui/test/data/permission_show_type.json index 5407ed29c..4ddbcfa68 100644 --- a/install/ui/test/data/permission_show_type.json +++ b/install/ui/test/data/permission_show_type.json @@ -8,13 +8,17 @@ "businesscategory": "rscwo", "cn": "rscwo", "description": "rscwo", + "filter": "rscwo", "member": "rscwo", "nsaccountlock": "rscwo", "o": "rscwo", "objectclass": "rscwo", "ou": "rscwo", "owner": "rscwo", - "seealso": "rscwo" + "seealso": "rscwo", + "subtree": "rscwo", + "targetgroup": "rscwo", + "type": "rscwo" }, "attrs": [ "unmatched", |
