-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-18268] Add SetPolicies() to easily replace multiple policies in …
…an existing configuration with the given policies (#39) * [FAB-18268] Modify setPolicies() to replace all policies in an existing configuration with the given ones Currently, setPolicies() upserts policies in an existing configuration with the given ones. This speficifation makes it difficult to remove multiple policies that are not needed. In preparation for supporting SetPolicies() for groups and orgs, this patch modifies setPolicies() to clear all existing policies in an existing configuration and then replace them with the given policies. Signed-off-by: Tatsuya Sato <[email protected]> * [FAB-18268] Add SetPolicies() to ChannelGroup This patch adds SetPolicies() to easily replace multiple policies for a channel group in an existing configuration with the given ones. Signed-off-by: Tatsuya Sato <[email protected]> * [FAB-18268] Add SetPolicies() to ApplicationGroup This patch adds SetPolicies() to easily replace multiple policies for an application group in an existing configuration with the given ones. Signed-off-by: Tatsuya Sato <[email protected]> * [FAB-18268] Add SetPolicies() to OrdererGroup This patch adds SetPolicies() to easily replace multiple policies for an orderer group in an existing configuration with the given ones. Signed-off-by: Tatsuya Sato <[email protected]> * [FAB-18268] Add SetPolicies() to ApplicationOrg This patch adds SetPolicies() to easily replace multiple policies for an application org in an existing configuration with the given ones. Signed-off-by: Tatsuya Sato <[email protected]> * [FAB-18268] Add SetPolicies() to OrdererOrg This patch adds SetPolicies() to easily replace multiple policies for an orderer org in an existing configuration with the given ones. Signed-off-by: Tatsuya Sato <[email protected]> * [FAB-18268] Add SetPolicies() to ConsortiumOrg This patch adds SetPolicies() to easily replace multiple policies for a consortium org in an existing configuration with the given ones. Signed-off-by: Tatsuya Sato <[email protected]> * Fix some typos in comments Signed-off-by: Tatsuya Sato <[email protected]>
- Loading branch information
Showing
9 changed files
with
714 additions
and
13 deletions.
There are no files selected for viewing
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
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
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
Oops, something went wrong.