2020-06-23 09:12:04 +00:00
|
|
|
## ConsulPolicyList
|
|
|
|
|
|
|
|
```
|
|
|
|
<ConsulPolicyList
|
|
|
|
@items={{items}}
|
|
|
|
@ondelete={{action 'delete'}}
|
|
|
|
/>
|
|
|
|
```
|
|
|
|
|
|
|
|
A presentational component for rendering Consul ACL policies
|
|
|
|
|
|
|
|
### Arguments
|
|
|
|
|
|
|
|
| Argument/Attribute | Type | Default | Description |
|
|
|
|
| --- | --- | --- | --- |
|
|
|
|
| `items` | `array` | | An array of ACL policies |
|
|
|
|
| `ondelete` | `function` | | An action to execute when the `Delete` action is clicked |
|
|
|
|
|
|
|
|
### See
|
|
|
|
|
|
|
|
- [Component Source Code](./index.js)
|
2020-07-20 16:43:10 +00:00
|
|
|
- [Template Source Code](./index.hbs)
|
2020-06-23 09:12:04 +00:00
|
|
|
|
|
|
|
---
|