mirror of https://github.com/status-im/consul.git
Redirect /api-docs/acl/acl to the new URL
This commit is contained in:
parent
34b2f5daea
commit
21168aa617
|
@ -279,7 +279,7 @@ You can can define several attributes that attach additional metadata and specif
|
|||
|
||||
### HTTP API Endpoint
|
||||
|
||||
The endpoint takes data formatted in HCL or JSON. Refer to the [ACL HTTP API endpoint documentation](/api-docs/acl/acl) for details about the API.
|
||||
The endpoint takes data formatted in HCL or JSON. Refer to the [ACL HTTP API endpoint documentation](/api-docs/acl) for details about the API.
|
||||
|
||||
The following example adds a set of rules to a policy called `my-app-policy`. The policy defines access to the `key` resource (Consul K/V). The rules are formatted in HCL, but they are wrapped in JSON so that the data can be sent using cURL:
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ The following table provides an overview of the resources you can use to create
|
|||
|
||||
| Resource | Description | Labels |
|
||||
| ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ |
|
||||
| `acl` | Controls access to ACL operations in the [ACL API](/api-docs/acl/acl). <br/>See [ACL Resource Rules](#acl-resource-rules) for details. | No |
|
||||
| `acl` | Controls access to ACL operations in the [ACL API](/api-docs/acl). <br/>See [ACL Resource Rules](#acl-resource-rules) for details. | No |
|
||||
| `partition`<br/>`partition_prefix` | <EnterpriseAlert inline /> Controls access to one or more admin partitions. <br/>See [Admin Partition Rules](#admin-partition-rules) for details. | Yes |
|
||||
| `agent`<br/>`agent_prefix` | Controls access to the utility operations in the [Agent API](/api-docs/agent), such as `join` and `leave`. <br/>See [Agent Rules](#agent-rules) for details. | Yes |
|
||||
| `event`<br/>`event_prefix` | Controls access to event operations in the [Event API](/api-docs/event), such as firing and listing events. <br/>See [Event Rules](#event-rules) for details. | Yes |
|
||||
|
|
|
@ -76,6 +76,11 @@ module.exports = [
|
|||
destination: '/docs/security/acl/acl-legacy',
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: '/api-docs/acl/acl',
|
||||
destination: '/api-docs/acl',
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: '/api-docs/acl-legacy',
|
||||
destination: '/api-docs/acl/legacy',
|
||||
|
|
Loading…
Reference in New Issue