hyperledger / hyperledger/fabric

Make collections config reference based

Open
#2,892 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
16.7k
Forks
9.1k
Avg merge
5h 38m
Merged PRs (30d)
26

Description

This is from https://stackoverflow.com/questions/68635379/hyperledger-fabric-adding-new-members-to-channel-with-private-data-can-i-do/68643959#68643959 with the description being:
"""
As of now, every collection configuration is an explicit policy, so you need to perform an operation for each collection.

However, the design / architecture doesn't restrict the policy to be an explicit one, and is flexible enough to accommodate a dynamic policy that is referenced and you can then update just the reference once instead of updating each collection.

Sadly, this isn't implemented yet. If you open a JIRA / Github issue / send an email in the mailing list then maybe it will be implemented at some point in the future.

It shouldn't be too hard to implement. All we need is to:

Stick a policy in the channel config tree.
Extend the CollectionPolicyConfig with another option of a policy reference and use the aforementioned reference.

"""

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.