mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
HBAC Service & Service Group test data
This commit is contained in:
parent
6a9846f3f3
commit
569f4e1a5c
24
install/static/test/data/hbacsvc_add.json
Normal file
24
install/static/test/data/hbacsvc_add.json
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"error": null,
|
||||
"id": 0,
|
||||
"result": {
|
||||
"result": {
|
||||
"cn": [
|
||||
"test"
|
||||
],
|
||||
"description": [
|
||||
"Test Service"
|
||||
],
|
||||
"dn": "cn=test,cn=hbacservices,cn=accounts,dc=dev,dc=example,dc=com",
|
||||
"ipauniqueid": [
|
||||
"c3302e82-ecfd11df-b3f78f4b-11cc007b"
|
||||
],
|
||||
"objectclass": [
|
||||
"ipaobject",
|
||||
"ipahbacservice"
|
||||
]
|
||||
},
|
||||
"summary": "Added service \"test\"",
|
||||
"value": "test"
|
||||
}
|
||||
}
|
9
install/static/test/data/hbacsvc_del.json
Normal file
9
install/static/test/data/hbacsvc_del.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"error": null,
|
||||
"id": 0,
|
||||
"result": {
|
||||
"result": true,
|
||||
"summary": "Deleted service \"test\"",
|
||||
"value": "test"
|
||||
}
|
||||
}
|
16
install/static/test/data/hbacsvc_mod.json
Normal file
16
install/static/test/data/hbacsvc_mod.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"error": null,
|
||||
"id": 0,
|
||||
"result": {
|
||||
"result": {
|
||||
"cn": [
|
||||
"test"
|
||||
],
|
||||
"description": [
|
||||
"Test"
|
||||
]
|
||||
},
|
||||
"summary": null,
|
||||
"value": "test"
|
||||
}
|
||||
}
|
17
install/static/test/data/hbacsvc_show.json
Normal file
17
install/static/test/data/hbacsvc_show.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"error": null,
|
||||
"id": 0,
|
||||
"result": {
|
||||
"result": {
|
||||
"cn": [
|
||||
"sudo"
|
||||
],
|
||||
"description": [
|
||||
"sudo"
|
||||
],
|
||||
"dn": "cn=sudo,cn=hbacservices,cn=accounts,dc=dev,dc=example,dc=com"
|
||||
},
|
||||
"summary": null,
|
||||
"value": "sudo"
|
||||
}
|
||||
}
|
26
install/static/test/data/hbacsvcgroup_add.json
Normal file
26
install/static/test/data/hbacsvcgroup_add.json
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
"error": null,
|
||||
"id": 0,
|
||||
"result": {
|
||||
"result": {
|
||||
"cn": [
|
||||
"test"
|
||||
],
|
||||
"description": [
|
||||
"Test Service Group"
|
||||
],
|
||||
"dn": "cn=test,cn=hbacservicegroups,cn=accounts,dc=dev,dc=example,dc=com",
|
||||
"ipauniqueid": [
|
||||
"0ab6ba82-ecfe11df-b3f78f4b-11cc007b"
|
||||
],
|
||||
"objectclass": [
|
||||
"ipaobject",
|
||||
"ipahbacservicegroup",
|
||||
"groupOfNames",
|
||||
"top"
|
||||
]
|
||||
},
|
||||
"summary": "Added HBAC Service group \"test\"",
|
||||
"value": "test"
|
||||
}
|
||||
}
|
9
install/static/test/data/hbacsvcgroup_del.json
Normal file
9
install/static/test/data/hbacsvcgroup_del.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"error": null,
|
||||
"id": 0,
|
||||
"result": {
|
||||
"result": true,
|
||||
"summary": "Deleted HBAC Service group \"test\"",
|
||||
"value": "test"
|
||||
}
|
||||
}
|
16
install/static/test/data/hbacsvcgroup_mod.json
Normal file
16
install/static/test/data/hbacsvcgroup_mod.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"error": null,
|
||||
"id": 0,
|
||||
"result": {
|
||||
"result": {
|
||||
"cn": [
|
||||
"test"
|
||||
],
|
||||
"description": [
|
||||
"Test"
|
||||
]
|
||||
},
|
||||
"summary": "Modified HBAC Service group \"test\"",
|
||||
"value": "test"
|
||||
}
|
||||
}
|
21
install/static/test/data/hbacsvcgroup_show.json
Normal file
21
install/static/test/data/hbacsvcgroup_show.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"error": null,
|
||||
"id": 0,
|
||||
"result": {
|
||||
"result": {
|
||||
"cn": [
|
||||
"SUDO"
|
||||
],
|
||||
"description": [
|
||||
"Default group of SUDO related services"
|
||||
],
|
||||
"dn": "cn=sudo,cn=hbacservicegroups,cn=accounts,dc=dev,dc=example,dc=com",
|
||||
"member_hbacsvc": [
|
||||
"sudo",
|
||||
"sudo-i"
|
||||
]
|
||||
},
|
||||
"summary": null,
|
||||
"value": "sudo"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user