freeipa/install/static/test/data/rolegroup_find.json
Endi Sukma Dewata 346615d4a0 Test framework for Web UI.
Test framework for Web UI has been created using qUnit. The test files
are located in install/static/test. The main page is index.html which
contains links to all test suites (xxx_tests.html). The test cases are
stored in xxx_tests.js. All test suites can be executed at once using
all_tests.html. The test data is stored in data folder. This patch
includes test suites for ipa.js and entity.js.

Some variables and functions in ipa.js have been modified to accomodate
testing (e.g. JSON URL, error handler, synchronous operation). The
sampledata has been moved to test/data. The develop.js and webui.js also
have been modified accordingly.
2010-09-24 19:50:29 -04:00

186 lines
5.7 KiB
JSON

{
"error": null,
"id": 0,
"result": {
"count": 15,
"result": [
{
"cn": [
"helpdesk"
],
"description": [
"Helpdesk"
],
"dn": "cn=helpdesk,cn=rolegroups,cn=accounts,dc=dev,dc=example,dc=com",
"member_user": [
"edewata"
]
},
{
"cn": [
"useradmin"
],
"description": [
"User Administrators"
],
"dn": "cn=useradmin,cn=rolegroups,cn=accounts,dc=dev,dc=example,dc=com"
},
{
"cn": [
"groupadmin"
],
"description": [
"Group Administrators"
],
"dn": "cn=groupadmin,cn=rolegroups,cn=accounts,dc=dev,dc=example,dc=com"
},
{
"cn": [
"hostadmin"
],
"description": [
"Host Administrators"
],
"dn": "cn=hostadmin,cn=rolegroups,cn=accounts,dc=dev,dc=example,dc=com",
"memberof_taskgroup": [
"addhosts",
"removehosts",
"modifyhosts",
"manage_host_keytab",
"enroll_host"
]
},
{
"cn": [
"hostgroupadmin"
],
"description": [
"Host Group Administrators"
],
"dn": "cn=hostgroupadmin,cn=rolegroups,cn=accounts,dc=dev,dc=example,dc=com"
},
{
"cn": [
"delegationadmin"
],
"description": [
"Role administration"
],
"dn": "cn=delegationadmin,cn=rolegroups,cn=accounts,dc=dev,dc=example,dc=com"
},
{
"cn": [
"serviceadmin"
],
"description": [
"Service Administrators"
],
"dn": "cn=serviceadmin,cn=rolegroups,cn=accounts,dc=dev,dc=example,dc=com",
"memberof_taskgroup": [
"addservices",
"removeservices",
"modifyservices"
]
},
{
"cn": [
"automountadmin"
],
"description": [
"Automount Administrators"
],
"dn": "cn=automountadmin,cn=rolegroups,cn=accounts,dc=dev,dc=example,dc=com"
},
{
"cn": [
"netgroupadmin"
],
"description": [
"Netgroups Administrators"
],
"dn": "cn=netgroupadmin,cn=rolegroups,cn=accounts,dc=dev,dc=example,dc=com"
},
{
"cn": [
"dnsadmin"
],
"description": [
"DNS Administrators"
],
"dn": "cn=dnsadmin,cn=rolegroups,cn=accounts,dc=dev,dc=example,dc=com"
},
{
"cn": [
"dnsserver"
],
"description": [
"DNS Servers"
],
"dn": "cn=dnsserver,cn=rolegroups,cn=accounts,dc=dev,dc=example,dc=com"
},
{
"cn": [
"certadmin"
],
"description": [
"Certificate Administrators"
],
"dn": "cn=certadmin,cn=rolegroups,cn=accounts,dc=dev,dc=example,dc=com",
"memberof_taskgroup": [
"retrieve_certs",
"request_certs",
"request_cert_different_host",
"certificate_status",
"revoke_certificate",
"certificate_remove_hold"
]
},
{
"cn": [
"replicaadmin"
],
"description": [
"Replication Administrators"
],
"dn": "cn=replicaadmin,cn=rolegroups,cn=accounts,dc=dev,dc=example,dc=com",
"member_user": [
"admin"
],
"memberof_taskgroup": [
"managereplica",
"deletereplica"
]
},
{
"cn": [
"enrollhost"
],
"description": [
"Host Enrollment"
],
"dn": "cn=enrollhost,cn=rolegroups,cn=accounts,dc=dev,dc=example,dc=com",
"memberof_taskgroup": [
"manage_host_keytab",
"enroll_host"
]
},
{
"cn": [
"entitlementadmin"
],
"description": [
"Entitlement Administrators"
],
"dn": "cn=entitlementadmin,cn=rolegroups,cn=accounts,dc=dev,dc=example,dc=com",
"memberof_taskgroup": [
"addentitlements",
"removeentitlements",
"modifyentitlements"
]
}
],
"summary": "15 rolegroups matched",
"truncated": false
}
}