parsav  conf-sec-credmg.tpl at tip

File view/conf-sec-credmg.tpl from the latest check-in


<hr>
<form method="post">
	<p>this account can currently be accessed with the credentials listed below. if you fear a credential has been compromised, you can revoke or reset it.</p>
	<select size="6" name="cred" required>
		@credlist
	</select>
	<menu class="horizontal choice">
		<button name="act" value="reset">reset</button>
		<button name="act" value="revoke">revoke</button>
		@?auth
	</menu>
</form>
<hr>
<form method="get">
	<p>you can associate extra credentials with this account. you can also limit how much of this account’s authority these credentials can be used to exercise &mdash; for instance, it might be useful to create API keys that can read the account timeline, but not post as the account owner or access any of his administrative powers. if you don't select a capability set, the credential will be able to wield the full scope of the associated account‘s powers.</p>
	<div class="check-panel">
		<label><input type="checkbox" name="allow-post"> post</label>
		<label><input type="checkbox" name="allow-edit"> edit</label>
		<label><input type="checkbox" name="allow-account"> manage account settings</label>
		<label><input type="checkbox" name="allow-upload"> upload artifacts</label>
		<label><input type="checkbox" name="allow-artifact"> edit and delete artifacts</label>
		<label><input type="checkbox" name="allow-moderate"> moderation</label>
		<label><input type="checkbox" name="allow-admin"> other admin powers</label>
		<label><input type="checkbox" name="allow-invite"> invite</label>
	</div>
	<p>you can also specify an IP address range in CIDR format to associate with this credential. if you do so, this credential will only be usable when connecting from an IP address in that range. otherwise, it will be valid when connecting from anywhere on the internet.</p>
	<div class="elem">
		<label for="netmask">netmask</label>
		<input type="text" name="netmask" id="netmask" placeholder="10.0.0.0/8">
	</div>
	<menu class="vertical choice">
		<button name="new" value="pw">new password</button>
		<button name="new" value="rsa">new RSA key</button>
		<button name="new" value="otp">new OTP key</button>
		<button name="new" value="api">new API token</button>
	</menu>
</form>