diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2011-11-16 21:07:20 -0600 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2011-12-06 22:08:16 +0000 |
commit | 2203bb650ce4730832cb9799be0ea1b855c07170 (patch) | |
tree | c0ae64bfe5ff9a39f95ab6cf86720316cf2885a2 /install/ui/test/data/hbacrule_get_records.json | |
parent | caa9d52666e5beb7321dc6c80820eeacca356077 (diff) | |
download | freeipa-2203bb650ce4730832cb9799be0ea1b855c07170.tar.gz freeipa-2203bb650ce4730832cb9799be0ea1b855c07170.tar.xz freeipa-2203bb650ce4730832cb9799be0ea1b855c07170.zip |
Added HBAC Test page.
This is the initial implementation of HBAC Test page. Currently it
can select user, source/target group, service, rules, and execute
the test. Other functionalities to be implemented include the search
filter, external users/hosts, back/next buttons, validation, styling,
and internalization.
Ticket #388
Diffstat (limited to 'install/ui/test/data/hbacrule_get_records.json')
-rw-r--r-- | install/ui/test/data/hbacrule_get_records.json | 83 |
1 files changed, 82 insertions, 1 deletions
diff --git a/install/ui/test/data/hbacrule_get_records.json b/install/ui/test/data/hbacrule_get_records.json index feaf217f6..743885de8 100644 --- a/install/ui/test/data/hbacrule_get_records.json +++ b/install/ui/test/data/hbacrule_get_records.json @@ -2,7 +2,7 @@ "error": null, "id": null, "result": { - "count": 1, + "count": 3, "results": [ { "error": null, @@ -35,6 +35,87 @@ }, "summary": null, "value": "allow_all" + }, + { + "error": null, + "result": { + "accessruletype": [ + "allow" + ], + "cn": [ + "rule1" + ], + "description": [ + "Test Rule" + ], + "dn": "ipauniqueid=4ed8b682-edf511df-b3f78f4b-11cc007b,cn=hbac,dc=dev,dc=example,dc=com", + "ipaenabledflag": [ + "TRUE" + ], + "memberhost_host": [ + "dev.example.com" + ], + "memberhost_hostgroup": [ + "production" + ], + "memberservice_hbacsvc": [ + "ftp", + "sshd" + ], + "memberservice_hbacsvcgroup": [ + "sudo" + ], + "memberuser_group": [ + "editors" + ], + "memberuser_user": [ + "admin", + "test" + ], + "sourcehost_host": [ + "dev.example.com" + ], + "sourcehost_hostgroup": [ + "staging" + ] + }, + "summary": null, + "value": "rule1" + }, + { + "error": null, + "result": { + "accessruletype": [ + "allow" + ], + "cn": [ + "rule2" + ], + "description": [ + "Test Rule" + ], + "dn": "ipauniqueid=12e2e4ba-120d-11e1-bbf7-525400e135d8,cn=hbac,dc=dev,dc=example,dc=com", + "ipaenabledflag": [ + "FALSE" + ], + "memberhost_host": [ + "test.example.com" + ], + "memberhost_hostgroup": [ + "staging" + ], + "memberuser_group": [ + "ipausers" + ], + "servicecategory": [ + "all" + ], + "sourcehost_host": [ + "test.example.com" + ] + }, + "summary": null, + "value": "rule2" } ] } |