forked from cefeboru/HLF-Acme-Airlines
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpermissions.acl
39 lines (35 loc) · 1.12 KB
/
permissions.acl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
rule NetworkAdminSystemResources {
description: "Read access to system resources"
participant: "org.hyperledger.composer.system.NetworkAdmin"
operation: ALL
resource: "org.hyperledger.composer.system.**"
action: ALLOW
}
rule NetworkAdminManageParticipants {
description: "Read access to system resources"
participant: "org.hyperledger.composer.system.NetworkAdmin"
operation: CREATE, READ
resource: "org.acme.airlines.participant.*"
action: ALLOW
}
rule AcmeNetworkAdminSystemResources {
description: "Read access to system resources"
participant: "org.acme.airlines.participant.ACMENetworkAdmin"
operation: READ
resource: "org.hyperledger.composer.system.**"
action: ALLOW
}
rule NetworkAdminAcmeResources {
description: "Read access to ACME resources"
participant: "org.acme.airlines.participant.ACMENetworkAdmin"
operation: READ
resource: "org.acme.airlines.**"
action: ALLOW
}
rule AcmeNetworkAdminParticipants {
description: "Manage participants"
participant: "org.acme.airlines.participant.ACMENetworkAdmin"
operation: ALL
resource: "org.acme.airlines.participant.*"
action: ALLOW
}