consul/ui-v2/app/templates/dc/acls/-authorization.hbs
John Cowen 7044aa52c8 ui: Namespace Support (#6639)
Adds namespace support to the UI:

1. Namespace CRUD/management
2. Show Namespace in relevant areas (intentions, upstreams)
3. Main navigation bar improvements
4. Logic/integration to interact with a new `internal/acl/authorize` endpoint
2019-12-18 12:26:47 +00:00

14 lines
551 B
Handlebars

<p>
The Access Control List (ACL) system, which controls permissions for this UI, is enabled for this cluster. Your token ID will be saved locally and persist through visits.
</p>
<form>
<fieldset>
<label class="type-text">
<span>SecretID or Token</span>
{{input type='password' value=secret name="secret" placeholder="SecretID or Token"}}
</label>
</fieldset>
{{! authorize is in the routes/dc/acls.js route }}
<button type="submit" {{action 'authorize' secret nspace}}>Save</button>
</form>