Merge branch 'master' into extended-easysetup
[platform/upstream/iotivity.git] / resource / csdk / security / unittest / oic_svr_db.json
1 {
2     "acl": {
3         "aclist": {
4             "aces": [
5                 {
6                     "subjectuuid": "*",
7                     "resources": [
8                         {
9                             "href": "/oic/res",
10                             "rel": "",
11                             "rt": ["oic.wk.res"],
12                             "if": ["oic.if.ll"]
13                         },
14                         {
15                             "href": "/oic/d",
16                             "rel": "",
17                             "rt": ["oic.wk.d"],
18                             "if": ["oic.if.baseline", "oic.if.r"]
19                         },
20                         {
21                             "href": "/oic/p",
22                             "rel": "",
23                             "rt": ["oic.wk.p"],
24                             "if": ["oic.if.baseline", "oic.if.r"]
25                         }
26                     ],
27                     "permission": 2
28                 },
29                 {
30                     "subjectuuid": "*",
31                     "resources": [
32                         {
33                             "href": "/oic/sec/doxm",
34                             "rel": "",
35                             "rt": ["oic.r.doxm"],
36                             "if": ["oic.if.baseline"]
37                         },
38                         {
39                             "href": "/oic/sec/pstat",
40                             "rel": "",
41                             "rt": ["oic.r.pstat"],
42                             "if": ["oic.if.baseline"]
43                         },
44                         {
45                             "href": "/oic/sec/acl",
46                             "rel": "",
47                             "rt": ["oic.r.acl"],
48                             "if": ["oic.if.baseline"]
49                         }
50                     ],
51                     "permission": 6
52                 },
53                 {
54                     "subjectuuid": "*",
55                     "resources": [
56                         {
57                             "href": "/oic/sec/pconf",
58                             "rel": "",
59                             "rt": ["oic.r.pconf"],
60                             "if": ["oic.if.baseline"]
61                         },
62                         {
63                             "href": "/oic/sec/dpairing",
64                             "rel": "",
65                             "rt": ["oic.r.dpairing"],
66                             "if": ["oic.if.baseline"]
67                         }
68                     ],
69                     "permission": 6
70                 }
71             ]
72         },
73         "rowneruuid" : "756E6B6E-6F77-6564-4465-766963654964"
74     },
75     "pstat": {
76         "isop": false,
77         "deviceuuid": "756E6B6E-6F77-6564-4465-766963654964",
78         "rowneruuid": "756E6B6E-6F77-6564-4465-766963654964",
79         "cm": 2,
80         "tm": 0,
81         "om": 3,
82         "sm": 3
83         },
84     "doxm": {
85         "oxms": [0],
86         "oxmsel": 0,
87         "sct": 1,
88         "owned": false,
89         "deviceuuid": "756E6B6E-6F77-6564-4465-766963654964",
90         "devowneruuid": "",
91         "rowneruuid": "756E6B6E-6F77-6564-4465-766963654964",
92         "x.org.iotivity.dpc": true
93     }
94 }