Skip to content

Commit

Permalink
Fix some formatting issues with the policies doc.
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Smith <[email protected]>
(cherry picked from commit d49a118)
  • Loading branch information
benjsmi authored and denyeart committed Jul 28, 2023
1 parent 923ac04 commit 1a34aff
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions docs/source/policies/policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -206,10 +207,10 @@ become the sub-policies that the `ImplicitMeta` policies point to.

<details>
<summary>
**Click here to see an example of an organization defined with signature policies**
<strong>Click here to see an example of an organization defined with signature policies</strong>
</summary>

```
```
- &Org1
# DefaultOrg defines the organization which is used in the sampleconfig
# of the fabric.git development environment
Expand Down Expand Up @@ -237,7 +238,11 @@ become the sub-policies that the `ImplicitMeta` policies point to.
Type: Signature
Rule: "OR('Org1MSP.peer')"
```

</details>


### 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
Expand All @@ -254,8 +259,9 @@ create.

<details>
<summary>
**Click here to see an example of ImplicitMeta policies**
<strong>Click here to see an example of ImplicitMeta policies</strong>
</summary>

```
################################################################################
#
Expand Down Expand Up @@ -291,6 +297,7 @@ Application: &ApplicationDefaults
Type: ImplicitMeta
Rule: "MAJORITY Endorsement"
```

</details>

## Fabric chaincode lifecycle
Expand Down

0 comments on commit 1a34aff

Please sign in to comment.