From 1a34aff06dadad3ed5f8208ba1729229e31123cb Mon Sep 17 00:00:00 2001 From: Ben Smith Date: Fri, 28 Jul 2023 12:55:29 -0400 Subject: [PATCH] Fix some formatting issues with the policies doc. Signed-off-by: Ben Smith (cherry picked from commit d49a118c7c18b05de965d37a4ba2e0262e14148a) --- docs/source/policies/policies.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/source/policies/policies.md b/docs/source/policies/policies.md index aab8e7e571d..0453f507fd2 100644 --- a/docs/source/policies/policies.md +++ b/docs/source/policies/policies.md @@ -192,6 +192,7 @@ channel policies are defined. We can use the `configtx.yaml` file in the Fabric test network to see examples of both policy syntax types. We are going to examine the `configtx.yaml` file used by the [fabric-samples/test-network](https://github.com/hyperledger/fabric-samples/blob/main/test-network/configtx/configtx.yaml) sample. +### Member Organizations Section The first section of the file defines the organizations that will be members of the channel. Inside each organization definition are the default policies for that organization, `Readers`, `Writers`, `Admins`, and `Endorsement`, although you can name your policies anything you want. @@ -206,10 +207,10 @@ become the sub-policies that the `ImplicitMeta` policies point to.
- **Click here to see an example of an organization defined with signature policies** + Click here to see an example of an organization defined with signature policies -``` + ``` - &Org1 # DefaultOrg defines the organization which is used in the sampleconfig # of the fabric.git development environment @@ -237,7 +238,11 @@ become the sub-policies that the `ImplicitMeta` policies point to. Type: Signature Rule: "OR('Org1MSP.peer')" ``` +
+ + +### Application and Roles Section The next example shows the `ImplicitMeta` policy type used in the `Application` section of the `configtx.yaml`. These set of policies lie on the @@ -254,8 +259,9 @@ create.
- **Click here to see an example of ImplicitMeta policies** + Click here to see an example of ImplicitMeta policies + ``` ################################################################################ # @@ -291,6 +297,7 @@ Application: &ApplicationDefaults Type: ImplicitMeta Rule: "MAJORITY Endorsement" ``` +
## Fabric chaincode lifecycle