From 42b82f09f349301ef0f7bfc82a2f89cec7311dd3 Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Thu, 11 Nov 2010 12:31:23 -0500 Subject: [PATCH] Added in the effective rights --- install/static/test/data/hbacsvc_mod.json | 15 +++++++++++ install/static/test/data/hbacsvc_show.json | 20 ++++++++++++++- .../static/test/data/hbacsvcgroup_mod.json | 23 +++++++++++++++++ .../static/test/data/hbacsvcgroup_show.json | 25 +++++++++++++++++++ 4 files changed, 82 insertions(+), 1 deletion(-) diff --git a/install/static/test/data/hbacsvc_mod.json b/install/static/test/data/hbacsvc_mod.json index f2ada9930..335009a98 100644 --- a/install/static/test/data/hbacsvc_mod.json +++ b/install/static/test/data/hbacsvc_mod.json @@ -3,11 +3,26 @@ "id": 0, "result": { "result": { + "attributelevelrights": { + "aci": "rscwo", + "cn": "rscwo", + "description": "rscwo", + "ipauniqueid": "rsc", + "memberof": "rsc", + "nsaccountlock": "rscwo" + }, "cn": [ "test" ], "description": [ "Test" + ], + "ipauniqueid": [ + "9e5aba82-edd411df-b3f78f4b-11cc007b" + ], + "objectclass": [ + "ipaobject", + "ipahbacservice" ] }, "summary": null, diff --git a/install/static/test/data/hbacsvc_show.json b/install/static/test/data/hbacsvc_show.json index 7301ab34f..8047964e0 100644 --- a/install/static/test/data/hbacsvc_show.json +++ b/install/static/test/data/hbacsvc_show.json @@ -3,13 +3,31 @@ "id": 0, "result": { "result": { + "attributelevelrights": { + "aci": "rscwo", + "cn": "rscwo", + "description": "rscwo", + "ipauniqueid": "rsc", + "memberof": "rsc", + "nsaccountlock": "rscwo" + }, "cn": [ "sudo" ], "description": [ "sudo" ], - "dn": "cn=sudo,cn=hbacservices,cn=accounts,dc=dev,dc=example,dc=com" + "dn": "cn=sudo,cn=hbacservices,cn=accounts,dc=dev,dc=example,dc=com", + "ipauniqueid": [ + "676e92a1-ec7611df-b3f78f4b-11cc007b" + ], + "memberof": [ + "cn=SUDO,cn=hbacservicegroups,cn=accounts,dc=dev,dc=example,dc=com" + ], + "objectclass": [ + "ipahbacservice", + "ipaobject" + ] }, "summary": null, "value": "sudo" diff --git a/install/static/test/data/hbacsvcgroup_mod.json b/install/static/test/data/hbacsvcgroup_mod.json index 3fdbff03a..e0ec916d3 100644 --- a/install/static/test/data/hbacsvcgroup_mod.json +++ b/install/static/test/data/hbacsvcgroup_mod.json @@ -3,11 +3,34 @@ "id": 0, "result": { "result": { + "attributelevelrights": { + "aci": "rscwo", + "businesscategory": "rscwo", + "cn": "rscwo", + "description": "rscwo", + "ipauniqueid": "rsc", + "member": "rscwo", + "nsaccountlock": "rscwo", + "o": "rscwo", + "objectclass": "rscwo", + "ou": "rscwo", + "owner": "rscwo", + "seealso": "rscwo" + }, "cn": [ "test" ], "description": [ "Test" + ], + "ipauniqueid": [ + "2d67d284-edd511df-b3f78f4b-11cc007b" + ], + "objectclass": [ + "ipaobject", + "ipahbacservicegroup", + "groupOfNames", + "top" ] }, "summary": "Modified HBAC Service group \"test\"", diff --git a/install/static/test/data/hbacsvcgroup_show.json b/install/static/test/data/hbacsvcgroup_show.json index f6d05f6dd..707445745 100644 --- a/install/static/test/data/hbacsvcgroup_show.json +++ b/install/static/test/data/hbacsvcgroup_show.json @@ -3,6 +3,21 @@ "id": 0, "result": { "result": { + "attributelevelrights": { + "aci": "rscwo", + "businesscategory": "rscwo", + "cn": "rscwo", + "description": "rscwo", + "ipauniqueid": "rsc", + "member": "rscwo", + "memberof": "rsc", + "nsaccountlock": "rscwo", + "o": "rscwo", + "objectclass": "rscwo", + "ou": "rscwo", + "owner": "rscwo", + "seealso": "rscwo" + }, "cn": [ "SUDO" ], @@ -10,9 +25,19 @@ "Default group of SUDO related services" ], "dn": "cn=sudo,cn=hbacservicegroups,cn=accounts,dc=dev,dc=example,dc=com", + "ipauniqueid": [ + "676e92ab-ec7611df-b3f78f4b-11cc007b" + ], "member_hbacsvc": [ "sudo", "sudo-i" + ], + "objectclass": [ + "ipaobject", + "ipahbacservicegroup", + "nestedGroup", + "groupOfNames", + "top" ] }, "summary": null,