[IOT-2271] [IOT-2308] fix hard-coded ACL for discovery and onboarding
[iotivity.git] / resource / csdk / security / unittest / oic_unittest_acl1.json
1 {
2     "acl": {
3         "aclist2": [
4             {
5                 "aceid": 1,
6                 "subject": { "conntype": "anon-clear" },
7                 "resources": [
8                     { "href": "/oic/res" },
9                     { "href": "/oic/d" },
10                     { "href": "/oic/p"}
11                 ],
12                 "permission": 2
13             },
14             {
15                 "aceid": 2,
16                 "subject": { "conntype": "auth-crypt" },
17                 "resources": [
18                     { "href": "/oic/res" },
19                     { "href": "/oic/d" },
20                     { "href": "/oic/p"}
21                 ],
22                 "permission": 2
23             },
24             {
25                 "aceid": 3,
26                 "subject": { "conntype": "anon-clear" },
27                 "resources": [
28                     { "href": "/oic/sec/doxm" }
29                 ],
30                 "permission": 14
31             },
32             {
33                 "aceid": 4,
34                 "subject": { "conntype": "auth-crypt" },
35                 "resources": [
36                     { "href": "/oic/sec/doxm" },
37                     { "href": "/oic/sec/roles" }
38                 ],
39                 "permission": 14
40             },
41             {
42                 "aceid": 5,
43                 "subject": { "uuid": "31313131-3131-3131-3131-313131313131" },
44                 "resources": [
45                     { "href": "/oic/light" },
46                     { "href": "/oic/garage" }
47                 ],
48                 "permission": 31
49             },
50             {
51                 "aceid": 6,
52                 "subject": { "uuid": "33333333-3333-3333-3333-333333333333" },
53                 "resources": [
54                     { "href": "/oic/light" },
55                     { "href": "/oic/garage" }
56                 ],
57                 "permission": 31
58             }
59         ],
60         "rowneruuid" : "32323232-3232-3232-3232-323232323232"
61     }
62 }
63