Created
September 20, 2017 18:50
-
-
Save ejiro/df4420609b4f91ef4a583556f0f5c8d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Sample access control list. | |
*/ | |
rule EverybodyCanReadEverything { | |
description: "Allow all participants read access to all resources" | |
participant: "org.acme.sample.User" | |
operation: READ | |
resource: "org.acme.sample.*" | |
action: ALLOW | |
} | |
rule EverybodyCanSubmitTransactions { | |
description: "Allow all participants to submit transactions" | |
participant: "org.acme.sample.User" | |
operation: CREATE | |
resource: "org.acme.sample.User" | |
action: ALLOW | |
} | |
rule SystemACL { | |
description: "System ACL to permit all access" | |
participant: "org.hyperledger.composer.system.Participant" | |
operation: ALL | |
resource: "org.hyperledger.composer.system.**" | |
action: ALLOW | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment