Imported Upstream version 1.1.0
[platform/upstream/iotivity.git] / resource / csdk / security / unittest / oic_unittest_acl1.json
1 {
2     "acl": {
3         "aclist": {
4             "aces": [
5                 {
6                     "subjectuuid": "*",
7                     "resources": [
8                         {
9                             "href": "/oic/res",
10                             "rel": "",
11                             "rt": "",
12                             "if": ""
13                         },
14                         {
15                             "href": "/oic/d",
16                             "rel": "",
17                             "rt": "",
18                             "if": ""
19                         },
20                         {
21                             "href": "/oic/p",
22                             "rel": "",
23                             "rt": "",
24                             "if": ""
25                         },
26                         {
27                             "href": "/oic/res/types/d",
28                             "rel": "",
29                             "rt": "",
30                             "if": ""
31                         },
32                         {
33                             "href": "/oic/ad",
34                             "rel": "",
35                             "rt": "",
36                             "if": ""
37                         },
38                         {
39                             "href": "/oic/sec/acl",
40                             "rel": "",
41                             "rt": "",
42                             "if": ""
43                         }
44                     ],
45                     "permission": 2
46                 },
47                 {
48                     "subjectuuid": "*",
49                     "resources": [
50                         {
51                             "href": "/oic/sec/doxm",
52                             "rel": "",
53                             "rt": "",
54                             "if": ""
55                         },
56                         {
57                             "href": "/oic/sec/pstat",
58                             "rel": "",
59                             "rt": "",
60                             "if": ""
61                         }
62                     ],
63                     "permission": 6
64                 },
65                 {
66                     "subjectuuid": "31313131-3131-3131-3131-313131313131",
67                     "resources": [
68                         {
69                             "href": "/oic/light",
70                             "rel": "",
71                             "rt": "",
72                             "if": ""
73                         },
74                         {
75                             "href": "/oic/fan",
76                             "rel": "",
77                             "rt": "",
78                             "if": ""
79                         }
80                     ],
81                     "permission": 31        
82                 },
83                 {
84                     "subjectuuid": "33333333-3333-3333-3333-333333333333",
85                     "resources": [
86                         {
87                             "href": "/oic/light",
88                             "rel": "",
89                             "rt": "",
90                             "if": ""
91                         },
92                         {
93                             "href": "/oic/garage",
94                             "rel": "",
95                             "rt": "",
96                             "if": ""
97                         }
98                     ],
99                     "permission": 31        
100                 }
101             ]
102         },
103         "rowneruuid" : "32323232-3232-3232-3232-323232323232"
104     }
105 }
106