This repository was archived by the owner on Mar 8, 2020. It is now read-only.
File tree 20 files changed +211
-51
lines changed
vehicle-lifecycle-network
20 files changed +211
-51
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"engines" : {
3
- "composer" : " ^0.11.0 || ^0.12.0 || ^0.13 .0"
3
+ "composer" : " ^0.14 .0"
4
4
},
5
5
"name" : " animaltracking-network" ,
6
6
"version" : " 0.1.10" ,
36
36
"devDependencies" : {
37
37
"browserfs" : " ^1.2.0" ,
38
38
"chai" : " ^3.5.0" ,
39
- "composer-cli" : " ^0.11. 0" ,
40
- "composer-connector-embedded" : " ^0.11. 0" ,
39
+ "composer-cli" : " ^0.14.0- 0" ,
40
+ "composer-connector-embedded" : " ^0.14.0- 0" ,
41
41
"eslint" : " ^3.6.1" ,
42
42
"jsdoc" : " ^3.4.1" ,
43
43
"license-check" : " ^1.1.5" ,
Original file line number Diff line number Diff line change @@ -15,4 +15,20 @@ rule SystemACL {
15
15
operation: ALL
16
16
resource: "org.hyperledger.composer.system.**"
17
17
action: ALLOW
18
+ }
19
+
20
+ rule NetworkAdminUser {
21
+ description: "Grant business network administrators full access to user resources"
22
+ participant: "org.hyperledger.composer.system.NetworkAdmin"
23
+ operation: ALL
24
+ resource: "**"
25
+ action: ALLOW
26
+ }
27
+
28
+ rule NetworkAdminSystem {
29
+ description: "Grant business network administrators full access to system resources"
30
+ participant: "org.hyperledger.composer.system.NetworkAdmin"
31
+ operation: ALL
32
+ resource: "org.hyperledger.composer.system.**"
33
+ action: ALLOW
18
34
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"engines" : {
3
- "composer" : " ^0.11.0 || ^0.12.0 || ^0.13 .0"
3
+ "composer" : " ^0.14 .0"
4
4
},
5
5
"name" : " basic-sample-network" ,
6
6
"version" : " 0.1.10" ,
34
34
"browserfs" : " ^1.2.0" ,
35
35
"chai" : " ^3.5.0" ,
36
36
"chai-as-promised" : " ^6.0.0" ,
37
- "composer-admin" : " ^0.11. 0" ,
38
- "composer-cli" : " ^0.11. 0" ,
39
- "composer-client" : " ^0.11. 0" ,
40
- "composer-connector-embedded" : " ^0.11. 0" ,
41
- "composer-cucumber-steps" : " ^0.11. 0" ,
37
+ "composer-admin" : " ^0.14.0- 0" ,
38
+ "composer-cli" : " ^0.14.0- 0" ,
39
+ "composer-client" : " ^0.14.0- 0" ,
40
+ "composer-connector-embedded" : " ^0.14.0- 0" ,
41
+ "composer-cucumber-steps" : " ^0.14.0- 0" ,
42
42
"cucumber" : " ^2.2.0" ,
43
43
"eslint" : " ^3.6.1" ,
44
44
"istanbul" : " ^0.4.5" ,
Original file line number Diff line number Diff line change @@ -32,4 +32,20 @@ rule SystemACL {
32
32
operation: ALL
33
33
resource: "org.hyperledger.composer.system.**"
34
34
action: ALLOW
35
+ }
36
+
37
+ rule NetworkAdminUser {
38
+ description: "Grant business network administrators full access to user resources"
39
+ participant: "org.hyperledger.composer.system.NetworkAdmin"
40
+ operation: ALL
41
+ resource: "**"
42
+ action: ALLOW
43
+ }
44
+
45
+ rule NetworkAdminSystem {
46
+ description: "Grant business network administrators full access to system resources"
47
+ participant: "org.hyperledger.composer.system.NetworkAdmin"
48
+ operation: ALL
49
+ resource: "org.hyperledger.composer.system.**"
50
+ action: ALLOW
35
51
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"engines" : {
3
- "composer" : " ^0.11.0 || ^0.12.0 || ^0.13 .0"
3
+ "composer" : " ^0.14 .0"
4
4
},
5
5
"name" : " bond-network" ,
6
6
"version" : " 0.1.10" ,
34
34
"devDependencies" : {
35
35
"browserfs" : " ^1.2.0" ,
36
36
"chai" : " ^3.5.0" ,
37
- "composer-admin" : " ^0.11. 0" ,
38
- "composer-cli" : " ^0.11. 0" ,
39
- "composer-client" : " ^0.11. 0" ,
40
- "composer-connector-embedded" : " ^0.11. 0" ,
37
+ "composer-admin" : " ^0.14.0- 0" ,
38
+ "composer-cli" : " ^0.14.0- 0" ,
39
+ "composer-client" : " ^0.14.0- 0" ,
40
+ "composer-connector-embedded" : " ^0.14.0- 0" ,
41
41
"eslint" : " ^3.6.1" ,
42
42
"istanbul" : " ^0.4.5" ,
43
43
"jsdoc" : " ^3.4.1" ,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ rule Issuer {
6
6
participant(i): "org.acme.bond.Issuer"
7
7
operation: ALL
8
8
resource(a): "org.acme.bond.BondAsset"
9
- condition: (a.bond.issuer.memberId === i.memberId)
9
+ condition: (a.bond.issuer.memberId === i.memberId)
10
10
action: ALLOW
11
11
}
12
12
@@ -24,4 +24,20 @@ rule SystemACL {
24
24
operation: ALL
25
25
resource: "org.hyperledger.composer.system.**"
26
26
action: ALLOW
27
+ }
28
+
29
+ rule NetworkAdminUser {
30
+ description: "Grant business network administrators full access to user resources"
31
+ participant: "org.hyperledger.composer.system.NetworkAdmin"
32
+ operation: ALL
33
+ resource: "**"
34
+ action: ALLOW
35
+ }
36
+
37
+ rule NetworkAdminSystem {
38
+ description: "Grant business network administrators full access to system resources"
39
+ participant: "org.hyperledger.composer.system.NetworkAdmin"
40
+ operation: ALL
41
+ resource: "org.hyperledger.composer.system.**"
42
+ action: ALLOW
27
43
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"engines" : {
3
- "composer" : " ^0.11.0 || ^0.12.0 || ^0.13 .0"
3
+ "composer" : " ^0.14 .0"
4
4
},
5
5
"name" : " carauction-network" ,
6
6
"version" : " 0.1.10" ,
33
33
"devDependencies" : {
34
34
"browserfs" : " ^1.2.0" ,
35
35
"chai" : " ^3.5.0" ,
36
- "composer-admin" : " ^0.11. 0" ,
37
- "composer-cli" : " ^0.11. 0" ,
38
- "composer-client" : " ^0.11. 0" ,
39
- "composer-connector-embedded" : " ^0.11. 0" ,
36
+ "composer-admin" : " ^0.14.0- 0" ,
37
+ "composer-cli" : " ^0.14.0- 0" ,
38
+ "composer-client" : " ^0.14.0- 0" ,
39
+ "composer-connector-embedded" : " ^0.14.0- 0" ,
40
40
"eslint" : " ^3.6.1" ,
41
41
"istanbul" : " ^0.4.5" ,
42
42
"jsdoc" : " ^3.4.1" ,
Original file line number Diff line number Diff line change @@ -40,5 +40,21 @@ rule SystemACL {
40
40
participant: "org.hyperledger.composer.system.Participant"
41
41
operation: ALL
42
42
resource: "org.hyperledger.composer.system.**"
43
- action: ALLOW
43
+ action: ALLOW
44
+ }
45
+
46
+ rule NetworkAdminUser {
47
+ description: "Grant business network administrators full access to user resources"
48
+ participant: "org.hyperledger.composer.system.NetworkAdmin"
49
+ operation: ALL
50
+ resource: "**"
51
+ action: ALLOW
52
+ }
53
+
54
+ rule NetworkAdminSystem {
55
+ description: "Grant business network administrators full access to system resources"
56
+ participant: "org.hyperledger.composer.system.NetworkAdmin"
57
+ operation: ALL
58
+ resource: "org.hyperledger.composer.system.**"
59
+ action: ALLOW
44
60
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"engines" : {
3
- "composer" : " ^0.11.0 || ^0.12.0 || ^0.13 .0"
3
+ "composer" : " ^0.14 .0"
4
4
},
5
5
"name" : " digitalproperty-network" ,
6
6
"version" : " 0.1.10" ,
32
32
"devDependencies" : {
33
33
"browserfs" : " ^1.2.0" ,
34
34
"chai" : " ^3.5.0" ,
35
- "composer-admin" : " ^0.11. 0" ,
36
- "composer-cli" : " ^0.11. 0" ,
37
- "composer-client" : " ^0.11. 0" ,
38
- "composer-connector-embedded" : " ^0.11. 0" ,
35
+ "composer-admin" : " ^0.14.0- 0" ,
36
+ "composer-cli" : " ^0.14.0- 0" ,
37
+ "composer-client" : " ^0.14.0- 0" ,
38
+ "composer-connector-embedded" : " ^0.14.0- 0" ,
39
39
"eslint" : " ^3.6.1" ,
40
40
"istanbul" : " ^0.4.5" ,
41
41
"jsdoc" : " ^3.4.1" ,
Original file line number Diff line number Diff line change @@ -15,4 +15,20 @@ rule SystemACL {
15
15
operation: ALL
16
16
resource: "org.hyperledger.composer.system.**"
17
17
action: ALLOW
18
+ }
19
+
20
+ rule NetworkAdminUser {
21
+ description: "Grant business network administrators full access to user resources"
22
+ participant: "org.hyperledger.composer.system.NetworkAdmin"
23
+ operation: ALL
24
+ resource: "**"
25
+ action: ALLOW
26
+ }
27
+
28
+ rule NetworkAdminSystem {
29
+ description: "Grant business network administrators full access to system resources"
30
+ participant: "org.hyperledger.composer.system.NetworkAdmin"
31
+ operation: ALL
32
+ resource: "org.hyperledger.composer.system.**"
33
+ action: ALLOW
18
34
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"engines" : {
3
- "composer" : " ^0.11.0 || ^0.12.0 || ^0.13 .0"
3
+ "composer" : " ^0.14 .0"
4
4
},
5
5
"name" : " marbles-network" ,
6
6
"version" : " 0.1.10" ,
33
33
"devDependencies" : {
34
34
"browserfs" : " ^1.2.0" ,
35
35
"chai" : " ^3.5.0" ,
36
- "composer-admin" : " ^0.11. 0" ,
37
- "composer-cli" : " ^0.11. 0" ,
38
- "composer-client" : " ^0.11. 0" ,
39
- "composer-connector-embedded" : " ^0.11. 0" ,
36
+ "composer-admin" : " ^0.14.0- 0" ,
37
+ "composer-cli" : " ^0.14.0- 0" ,
38
+ "composer-client" : " ^0.14.0- 0" ,
39
+ "composer-connector-embedded" : " ^0.14.0- 0" ,
40
40
"eslint" : " ^3.6.1" ,
41
41
"istanbul" : " ^0.4.5" ,
42
42
"jsdoc" : " ^3.4.1" ,
Original file line number Diff line number Diff line change @@ -15,4 +15,20 @@ rule SystemACL {
15
15
operation: ALL
16
16
resource: "org.hyperledger.composer.system.**"
17
17
action: ALLOW
18
+ }
19
+
20
+ rule NetworkAdminUser {
21
+ description: "Grant business network administrators full access to user resources"
22
+ participant: "org.hyperledger.composer.system.NetworkAdmin"
23
+ operation: ALL
24
+ resource: "**"
25
+ action: ALLOW
26
+ }
27
+
28
+ rule NetworkAdminSystem {
29
+ description: "Grant business network administrators full access to system resources"
30
+ participant: "org.hyperledger.composer.system.NetworkAdmin"
31
+ operation: ALL
32
+ resource: "org.hyperledger.composer.system.**"
33
+ action: ALLOW
18
34
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"engines" : {
3
- "composer" : " ^0.11.0 || ^0.12.0 || ^0.13.0 "
3
+ "composer" : " ^0.14.0 "
4
4
},
5
5
"name" : " perishable-network" ,
6
6
"version" : " 0.1.10" ,
34
34
"devDependencies" : {
35
35
"browserfs" : " ^1.2.0" ,
36
36
"chai" : " ^3.5.0" ,
37
- "composer-admin" : " ^0.11. 0" ,
38
- "composer-cli" : " ^0.11. 0" ,
39
- "composer-client" : " ^0.11. 0" ,
40
- "composer-connector-embedded" : " ^0.11. 0" ,
37
+ "composer-admin" : " ^0.14.0- 0" ,
38
+ "composer-cli" : " ^0.14.0- 0" ,
39
+ "composer-client" : " ^0.14.0- 0" ,
40
+ "composer-connector-embedded" : " ^0.14.0- 0" ,
41
41
"eslint" : " ^3.6.1" ,
42
42
"istanbul" : " ^0.4.5" ,
43
43
"jsdoc" : " ^3.4.1" ,
Original file line number Diff line number Diff line change @@ -15,4 +15,20 @@ rule SystemACL {
15
15
operation: ALL
16
16
resource: "org.hyperledger.composer.system.**"
17
17
action: ALLOW
18
+ }
19
+
20
+ rule NetworkAdminUser {
21
+ description: "Grant business network administrators full access to user resources"
22
+ participant: "org.hyperledger.composer.system.NetworkAdmin"
23
+ operation: ALL
24
+ resource: "**"
25
+ action: ALLOW
26
+ }
27
+
28
+ rule NetworkAdminSystem {
29
+ description: "Grant business network administrators full access to system resources"
30
+ participant: "org.hyperledger.composer.system.NetworkAdmin"
31
+ operation: ALL
32
+ resource: "org.hyperledger.composer.system.**"
33
+ action: ALLOW
18
34
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"engines" : {
3
- "composer" : " ^0.11.0 || ^0.12.0 || ^0.13 .0"
3
+ "composer" : " ^0.14 .0"
4
4
},
5
5
"name" : " pii-network" ,
6
6
"version" : " 0.1.10" ,
33
33
"devDependencies" : {
34
34
"browserfs" : " ^1.2.0" ,
35
35
"chai" : " ^3.5.0" ,
36
- "composer-admin" : " ^0.11. 0" ,
37
- "composer-cli" : " ^0.11. 0" ,
38
- "composer-client" : " ^0.11. 0" ,
39
- "composer-connector-embedded" : " ^0.11. 0" ,
36
+ "composer-admin" : " ^0.14.0- 0" ,
37
+ "composer-cli" : " ^0.14.0- 0" ,
38
+ "composer-client" : " ^0.14.0- 0" ,
39
+ "composer-connector-embedded" : " ^0.14.0- 0" ,
40
40
"eslint" : " ^3.6.1" ,
41
41
"istanbul" : " ^0.4.5" ,
42
42
"jsdoc" : " ^3.4.1" ,
Original file line number Diff line number Diff line change @@ -45,4 +45,20 @@ rule SystemACL {
45
45
operation: ALL
46
46
resource: "org.hyperledger.composer.system.**"
47
47
action: ALLOW
48
+ }
49
+
50
+ rule NetworkAdminUser {
51
+ description: "Grant business network administrators full access to user resources"
52
+ participant: "org.hyperledger.composer.system.NetworkAdmin"
53
+ operation: ALL
54
+ resource: "**"
55
+ action: ALLOW
56
+ }
57
+
58
+ rule NetworkAdminSystem {
59
+ description: "Grant business network administrators full access to system resources"
60
+ participant: "org.hyperledger.composer.system.NetworkAdmin"
61
+ operation: ALL
62
+ resource: "org.hyperledger.composer.system.**"
63
+ action: ALLOW
48
64
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"engines" : {
3
- "composer" : " ^0.11.0 || ^0.12.0 || ^0.13 .0"
3
+ "composer" : " ^0.14 .0"
4
4
},
5
5
"name" : " trade-network" ,
6
6
"version" : " 0.1.10" ,
33
33
"devDependencies" : {
34
34
"browserfs" : " ^1.2.0" ,
35
35
"chai" : " ^3.5.0" ,
36
- "composer-admin" : " ^0.11. 0" ,
37
- "composer-cli" : " ^0.11. 0" ,
38
- "composer-client" : " ^0.11. 0" ,
39
- "composer-connector-embedded" : " ^0.11. 0" ,
36
+ "composer-admin" : " ^0.14.0- 0" ,
37
+ "composer-cli" : " ^0.14.0- 0" ,
38
+ "composer-client" : " ^0.14.0- 0" ,
39
+ "composer-connector-embedded" : " ^0.14.0- 0" ,
40
40
"eslint" : " ^3.6.1" ,
41
41
"istanbul" : " ^0.4.5" ,
42
42
"jsdoc" : " ^3.4.1" ,
You can’t perform that action at this time.
0 commit comments