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