diff --git a/x/authz/spec/01_concepts.md b/x/authz/spec/01_concepts.md index 7855ff5fc579..99783e85de36 100644 --- a/x/authz/spec/01_concepts.md +++ b/x/authz/spec/01_concepts.md @@ -7,7 +7,7 @@ order: 1 ## Authorization and Grant The `x/authz` module defines interfaces and messages grant authorizations to perform actions -on behalf of one account to other accounts. The design is defined in the [ADR 030](../../../architecture/adr-030-authz-module.md). +on behalf of one account to other accounts. The design is defined in the [ADR 030](../../../docs/architecture/adr-030-authz-module.md). A *grant* is an allowance to execute a Msg by the grantee on behalf of the granter. Authorization is an interface that must be implemented by a concrete authorization logic to validate and execute grants. Authorizations are extensible and can be defined for any Msg service method even outside of the module where the Msg method is defined. See the `SendAuthorization` example in the next section for more details. @@ -42,4 +42,4 @@ The Cosmos SDK `x/authz` module comes with following authorization types: ## Gas -In order to prevent DoS attacks, granting `StakeAuthorizaiton`s with `x/authz` incurs gas. `StakeAuthorization` allows you to authorize another account to delegate, undelegate, or redelegate to validators. The authorizer can define a list of validators they allow or deny delegations to. The Cosmos SDK iterates over these lists and charge 10 gas for each validator in both of the lists. +In order to prevent DoS attacks, granting `StakeAuthorization`s with `x/authz` incurs gas. `StakeAuthorization` allows you to authorize another account to delegate, undelegate, or redelegate to validators. The authorizer can define a list of validators they allow or deny delegations to. The Cosmos SDK iterates over these lists and charge 10 gas for each validator in both of the lists. diff --git a/x/authz/spec/README.md b/x/authz/spec/README.md index 4c62d94294c4..85461871ea5f 100644 --- a/x/authz/spec/README.md +++ b/x/authz/spec/README.md @@ -11,12 +11,12 @@ parent: ## Abstract -`x/authz` is an implementation of a Cosmos SDK module, per [ADR 30](../../../architecture/adr-030-authz-module.md), that allows +`x/authz` is an implementation of a Cosmos SDK module, per [ADR 30](../../../docs/architecture/adr-030-authz-module.md), that allows granting arbitrary privileges from one account (the granter) to another account (the grantee). Authorizations must be granted for a particular Msg service method one by one using an implementation of the `Authorization` interface. 1. **[Concept](01_concepts.md)** - - [Authorization](01_concepts.md#Authorization) - - [Built-in Authorizations](01_concepts.md#Built-in-Authorization) + - [Authorization and Grant](01_concepts.md#Authorization-and-Grant) + - [Built-in Authorizations](01_concepts.md#Built-in-Authorizations) - [Gas](01_concepts.md#gas) 2. **[State](02_state.md)** 3. **[Messages](03_messages.md)** @@ -24,7 +24,6 @@ granting arbitrary privileges from one account (the granter) to another account - [MsgRevoke](03_messages.md#MsgRevoke) - [MsgExec](03_messages.md#MsgExec) 4. **[Events](04_events.md)** - - [Keeper](04_events.md#Keeper) 5. **[Client](05_client.md)** - [CLI](05_client.md#cli) - [gRPC](05_client.md#grpc)