summaryrefslogtreecommitdiffstats
path: root/install/ui/test/data
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-01-18 17:58:55 -0600
committerPetr Voborník <pvoborni@redhat.com>2012-01-23 15:38:35 +0100
commitfef343ae8f501aa67d4c746d9c7103d797fd6be2 (patch)
treef4cd5bad86ac0309dbcf3148dcdc10a8a62a0b17 /install/ui/test/data
parent7c0c39581c567c2c5bd92f9396b6fd99a2b8a6f8 (diff)
downloadfreeipa-fef343ae8f501aa67d4c746d9c7103d797fd6be2.tar.gz
freeipa-fef343ae8f501aa67d4c746d9c7103d797fd6be2.tar.xz
freeipa-fef343ae8f501aa67d4c746d9c7103d797fd6be2.zip
Show disabled entries in gray.
The users, HBAC/sudo rules, HBAC test, and SELinux list pages have been modified to show disabled entries in gray. Icons will be added separately. Ticket #1996
Diffstat (limited to 'install/ui/test/data')
-rw-r--r--install/ui/test/data/hbacrule_get_records.json15
-rw-r--r--install/ui/test/data/selinuxusermap_find_pkeys.json8
-rw-r--r--install/ui/test/data/selinuxusermap_get_records.json30
-rw-r--r--install/ui/test/data/sudorule_find_pkeys.json8
-rw-r--r--install/ui/test/data/sudorule_get_records.json98
-rw-r--r--install/ui/test/data/user_get_records.json6
6 files changed, 158 insertions, 7 deletions
diff --git a/install/ui/test/data/hbacrule_get_records.json b/install/ui/test/data/hbacrule_get_records.json
index 2ae32f52a..bff83920b 100644
--- a/install/ui/test/data/hbacrule_get_records.json
+++ b/install/ui/test/data/hbacrule_get_records.json
@@ -52,6 +52,9 @@
"cn": [
"rule01"
],
+ "description": [
+ "Test HBAC Rule 01"
+ ],
"dn": "ipauniqueid=ce568648-211c-11e1-8846-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"hostcategory": [
"all"
@@ -88,6 +91,9 @@
"cn": [
"rule02"
],
+ "description": [
+ "Test HBAC Rule 02"
+ ],
"dn": "ipauniqueid=d0133224-211c-11e1-b881-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"hostcategory": [
"all"
@@ -124,6 +130,9 @@
"cn": [
"rule03"
],
+ "description": [
+ "Test HBAC Rule 03"
+ ],
"dn": "ipauniqueid=d21db45e-211c-11e1-bef8-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"hostcategory": [
"all"
@@ -160,6 +169,9 @@
"cn": [
"rule04"
],
+ "description": [
+ "Test HBAC Rule 04"
+ ],
"dn": "ipauniqueid=d4209604-211c-11e1-9192-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"hostcategory": [
"all"
@@ -196,6 +208,9 @@
"cn": [
"rule05"
],
+ "description": [
+ "Test HBAC Rule 05"
+ ],
"dn": "ipauniqueid=d59dba70-211c-11e1-9ce3-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"hostcategory": [
"all"
diff --git a/install/ui/test/data/selinuxusermap_find_pkeys.json b/install/ui/test/data/selinuxusermap_find_pkeys.json
index 016e51267..a4163febd 100644
--- a/install/ui/test/data/selinuxusermap_find_pkeys.json
+++ b/install/ui/test/data/selinuxusermap_find_pkeys.json
@@ -9,9 +9,15 @@
"karel_unconfined"
],
"dn": "ipauniqueid=dbe2ffa0-3c2c-11e1-ad81-00163e6185c4,cn=usermap,cn=selinux,dc=dev,dc=example,dc=com"
+ },
+ {
+ "cn": [
+ "test01"
+ ],
+ "dn": "ipauniqueid=dbe2ffa0-3c2c-11e1-ad81-00163e6185c4,cn=usermap,cn=selinux,dc=dev,dc=example,dc=com"
}
],
- "summary": "1 SELinux User Map matched",
+ "summary": "2 SELinux User Maps matched",
"truncated": false
}
} \ No newline at end of file
diff --git a/install/ui/test/data/selinuxusermap_get_records.json b/install/ui/test/data/selinuxusermap_get_records.json
index 61d80fb5c..518b13654 100644
--- a/install/ui/test/data/selinuxusermap_get_records.json
+++ b/install/ui/test/data/selinuxusermap_get_records.json
@@ -33,6 +33,36 @@
},
"summary": null,
"value": "karel_unconfined"
+ },
+ {
+ "error": null,
+ "result": {
+ "cn": [
+ "test01"
+ ],
+ "description": [
+ "Test SELinux User Map 01"
+ ],
+ "dn": "ipauniqueid=dbe2ffa0-3c2c-11e1-ad81-00163e6185c4,cn=usermap,cn=selinux,dc=dev,dc=example,dc=com",
+ "ipaenabledflag": [
+ "FALSE"
+ ],
+ "ipaselinuxuser": [
+ "xguest_u:s0"
+ ],
+ "ipauniqueid": [
+ "dbe2ffa0-3c2c-11e1-ad81-00163e6185c4"
+ ],
+ "memberuser_user": [
+ "karel"
+ ],
+ "objectclass": [
+ "ipaassociation",
+ "ipaselinuxusermap"
+ ]
+ },
+ "summary": null,
+ "value": "test01"
}
]
}
diff --git a/install/ui/test/data/sudorule_find_pkeys.json b/install/ui/test/data/sudorule_find_pkeys.json
index a72894db3..139fc0a27 100644
--- a/install/ui/test/data/sudorule_find_pkeys.json
+++ b/install/ui/test/data/sudorule_find_pkeys.json
@@ -6,7 +6,13 @@
"result": [
{
"cn": [
- "test"
+ "test01"
+ ],
+ "dn": "ipauniqueid=4fc57a02-f23311df-b268e50e-a3b3ef71,cn=sudorules,cn=sudo,dc=example,dc=com"
+ },
+ {
+ "cn": [
+ "test02"
],
"dn": "ipauniqueid=4fc57a02-f23311df-b268e50e-a3b3ef71,cn=sudorules,cn=sudo,dc=example,dc=com"
}
diff --git a/install/ui/test/data/sudorule_get_records.json b/install/ui/test/data/sudorule_get_records.json
index 7e1d09cc5..e005dfeac 100644
--- a/install/ui/test/data/sudorule_get_records.json
+++ b/install/ui/test/data/sudorule_get_records.json
@@ -33,7 +33,10 @@
"usercategory": "rscwo"
},
"cn": [
- "test"
+ "test01"
+ ],
+ "description": [
+ "Test Sudo Rule 01"
],
"dn": "ipauniqueid=4fc57a02-f23311df-b268e50e-a3b3ef71,cn=sudorules,cn=sudo,dc=example,dc=com",
"externalhost": [
@@ -90,7 +93,98 @@
]
},
"summary": null,
- "value": "test"
+ "value": "test01"
+ },
+ {
+ "error": null,
+ "result": {
+ "attributelevelrights": {
+ "aci": "rscwo",
+ "cmdcategory": "rscwo",
+ "cn": "rscwo",
+ "description": "rscwo",
+ "externalhost": "rscwo",
+ "externaluser": "rscwo",
+ "hostcategory": "rscwo",
+ "hostmask": "rscwo",
+ "ipaenabledflag": "rscwo",
+ "ipasudoopt": "rscwo",
+ "ipasudorunas": "rscwo",
+ "ipasudorunasextgroup": "rscwo",
+ "ipasudorunasextuser": "rscwo",
+ "ipasudorunasgroup": "rscwo",
+ "ipasudorunasgroupcategory": "rscwo",
+ "ipasudorunasusercategory": "rscwo",
+ "ipauniqueid": "rsc",
+ "memberallowcmd": "rscwo",
+ "memberdenycmd": "rscwo",
+ "memberhost": "rscwo",
+ "memberuser": "rscwo",
+ "nsaccountlock": "rscwo",
+ "usercategory": "rscwo"
+ },
+ "cn": [
+ "test02"
+ ],
+ "description": [
+ "Test Sudo Rule 02"
+ ],
+ "dn": "ipauniqueid=4fc57a02-f23311df-b268e50e-a3b3ef71,cn=sudorules,cn=sudo,dc=example,dc=com",
+ "externalhost": [
+ "external.example.com"
+ ],
+ "externaluser": [
+ "external"
+ ],
+ "ipaenabledflag": [
+ "FALSE"
+ ],
+ "ipasudoopt": [
+ "-H",
+ "-b"
+ ],
+ "ipasudorunas_user": [
+ "admin"
+ ],
+ "ipasudorunasgroup_group": [
+ "admins"
+ ],
+ "ipauniqueid": [
+ "4fc57a02-f23311df-b268e50e-a3b3ef71"
+ ],
+ "memberallowcmd_sudocmd": [
+ "/usr/bin/less"
+ ],
+ "memberallowcmd_sudocmdgroup": [
+ "group1"
+ ],
+ "memberdenycmd_sudocmd": [
+ "/usr/bin/more"
+ ],
+ "memberdenycmd_sudocmdgroup": [
+ "group1",
+ "group2"
+ ],
+ "memberhost_host": [
+ "dev.example.com"
+ ],
+ "memberhost_hostgroup": [
+ "production",
+ "staging"
+ ],
+ "memberuser_group": [
+ "editors"
+ ],
+ "memberuser_user": [
+ "test"
+ ],
+ "objectclass": [
+ "ipaassociation",
+ "ipasudorule"
+ ]
+ },
+ "summary": null,
+ "value": "test02"
}
]
}
diff --git a/install/ui/test/data/user_get_records.json b/install/ui/test/data/user_get_records.json
index c45a45c60..8814bff74 100644
--- a/install/ui/test/data/user_get_records.json
+++ b/install/ui/test/data/user_get_records.json
@@ -610,7 +610,7 @@
"mepmanagedentry": [
"cn=aortega,cn=groups,cn=accounts,dc=example,dc=com"
],
- "nsaccountlock": false,
+ "nsaccountlock": true,
"objectclass": [
"top",
"person",
@@ -681,7 +681,7 @@
"mepmanagedentry": [
"cn=aortiz,cn=groups,cn=accounts,dc=example,dc=com"
],
- "nsaccountlock": false,
+ "nsaccountlock": true,
"objectclass": [
"top",
"person",
@@ -1107,7 +1107,7 @@
"mepmanagedentry": [
"cn=bbauer,cn=groups,cn=accounts,dc=example,dc=com"
],
- "nsaccountlock": false,
+ "nsaccountlock": true,
"objectclass": [
"top",
"person",