summaryrefslogtreecommitdiffstats
path: root/install/ui/test/data/selinuxusermap_add_user.json
diff options
context:
space:
mode:
authorPetr Voborník <pvoborni@redhat.com>2012-01-13 15:34:55 +0100
committerPetr Voborník <pvoborni@redhat.com>2012-01-18 17:08:46 +0100
commitd906fa50c1fd56ceb1a602fe50129becb6a304d4 (patch)
tree1d30169ef9436eb6888edfcb73eff36c9e073123 /install/ui/test/data/selinuxusermap_add_user.json
parent2c1f21a14bf9d47ab484d13f5947a059ccc1d041 (diff)
downloadfreeipa-d906fa50c1fd56ceb1a602fe50129becb6a304d4.tar.gz
freeipa-d906fa50c1fd56ceb1a602fe50129becb6a304d4.tar.xz
freeipa-d906fa50c1fd56ceb1a602fe50129becb6a304d4.zip
UI for SELinux user mapping
This patch adds UI for SELinux user mapping. Its design is based on HBAC Rule design. https://fedorahosted.org/freeipa/ticket/2145
Diffstat (limited to 'install/ui/test/data/selinuxusermap_add_user.json')
-rw-r--r--install/ui/test/data/selinuxusermap_add_user.json38
1 files changed, 38 insertions, 0 deletions
diff --git a/install/ui/test/data/selinuxusermap_add_user.json b/install/ui/test/data/selinuxusermap_add_user.json
new file mode 100644
index 000000000..acdcb647a
--- /dev/null
+++ b/install/ui/test/data/selinuxusermap_add_user.json
@@ -0,0 +1,38 @@
+{
+ "error": null,
+ "id": null,
+ "result": {
+ "completed": 1,
+ "failed": {
+ "memberuser": {
+ "group": [],
+ "user": []
+ }
+ },
+ "result": {
+ "cn": [
+ "karel_unconfined"
+ ],
+ "description": [
+ "description"
+ ],
+ "dn": "ipauniqueid=dbe2ffa0-3c2c-11e1-ad81-00163e6185c4,cn=usermap,cn=selinux,dc=dev,dc=example,dc=com",
+ "ipaenabledflag": [
+ "TRUE"
+ ],
+ "ipaselinuxuser": [
+ "unconfined_u:s0-s0:c0.c1023"
+ ],
+ "memberhost_host": [
+ "dev.example.com"
+ ],
+ "memberuser_group": [
+ "user-group"
+ ],
+ "memberuser_user": [
+ "karel",
+ "admin"
+ ]
+ }
+ }
+} \ No newline at end of file