Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssetTransfer Private - Incorrect Endorsement Policy #922

Merged
merged 1 commit into from Mar 22, 2023

Commits on Mar 22, 2023

  1. Correct the private data collection information

    For the asset transfer example (https://hyperledger-fabric.readthedocs.io/en/release-2.5/private_data_tutorial.html#pd-use-case)
    the are three private data collections, one per org and one shared between the orgs.
    
    The shared collection didn't have an endorsement policy so inheritted the chaincodes; this was specifically set away from the default
    to be OR(Org1MSP,Org2MSP).   The documentation says this is to ensure that either organization can create and asset.
    
    However this isn't really necassary, the endorsement policy should be lowest level; so this PR moves the endorsement policy to
    the collection.  The documentation does I believe lead to a false understanding
    
    Signed-off-by: Matthew B White <whitemat@uk.ibm.com>
    mbwhite committed Mar 22, 2023
    Copy the full SHA
    f6becc2 View commit details
    Browse the repository at this point in the history