2018-07-19 01:59:04 +00:00
{{ # if ( has-feature "Control Groups" ) }}
<PageHeader as |p|>
<p.levelLeft>
<h1 class="title is-3">
Control Groups
</h1>
</p.levelLeft>
<p.levelRight>
{{ # if model .canConfigure }}
2018-10-21 19:19:34 +00:00
{{ # link-to 'vault.cluster.access.control-groups-configure' class = "button has-icon-right is-ghost is-compact" }}
2018-07-19 01:59:04 +00:00
Configure
<ICon @glyph="chevron-right" @size=11 />
{{ / link-to }}
{{ / if }}
</p.levelRight>
</PageHeader>
<form {{ action ( nav-to-route 'vault.cluster.access.control-group-accessor' model .id ) on = "submit" }} >
<div class="box is-sideless is-fullwidth is-marginless">
<p class="has-text-grey is-size-8">
Control Groups add additional authorization factors to be required before satisfying a request. If you have a control group accessor, provide it here to view the lookup the authorization progress.
</p>
<label for="accessor" class="is-label">
Accessor
</label>
<div class="control">
{{ in put class = "input" autocomplete = "off" name = "accessor" value = model .id }}
</div>
</div>
<div class="field is-grouped box is-fullwidth is-bottomless">
<button type="submit" class="button is-primary" disabled= {{ not model .id }} >
Lookup
</button>
</div>
</form>
{{ else }}
<UpgradePage @title="Control Groups" @minimumEdition="Vault Enterprise Premium" />
{{ / if }}