<!--
This file is part of Linode Manager Classic.

Linode Manager Classic is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Linode Manager Classic is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Linode Manager Classic.  If not, see <https://www.gnu.org/licenses/>.
-->
<!DOCTYPE HTML>
<html lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>LMC - Account // User Grants</title>
		<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
		<link rel="stylesheet" type="text/css" href="grants.css" />
		<script src="grants.js" type="module"></script>
	</head>
	<body>
		<!--#include virtual="/include/header.html"-->
		<!--#include virtual="/include/account_subnav.html"-->
		<div id="main-content" class="wrapper">
			<div id="top-links"><a href="/account">Account</a> » <a href="/user">Users</a> » <a id="top-user-link"></a> » <span class="top-links-title">Grants</span></div>
			<div id="grants">
				<h2>Global Grants</h2>
				<input id="create-linode" type="checkbox" /> <label for="create-linode">Can add Linodes to this account ($)</label><br />
				<input id="create-nb" type="checkbox" /> <label for="create-nb">Can add NodeBalancers to this account ($)</label><br />
				<input id="create-lv" type="checkbox" /> <label for="create-lv">Can add Longview clients to this account</label><br />
				<input id="modify-lv" type="checkbox" /> <label for="modify-lv">Can modify this account's Longview subscription ($)</label><br />
				<input id="create-domain" type="checkbox" /> <label for="create-domain">Can add Domains using the DNS Manager</label><br />
				<input id="create-ss" type="checkbox" /> <label for="create-ss">Can create StackScripts under this account</label><br />
				<input id="create-image" type="checkbox" /> <label for="create-image">Can create frozen Images under this account</label><br />
				<input id="create-volume" type="checkbox" /> <label for="create-volume">Can add Block Storage Volumes to this account ($)</label>
				<h2>Billing Access</h2>
				<input id="billing-none" type="radio" name="billing" /> <label for="billing-none"><strong>None</strong> - Cannot view any billing information</label><br />
				<input id="billing-ro" type="radio" name="billing" /> <label for="billing-ro"><strong>Read Only</strong> - Can view invoices, billing info, and will receive copies of all invoices and payment emails</label><br />
				<input id="billing-rw" type="radio" name="billing" /> <label for="billing-rw"><strong>Read-Write</strong> - Can make payments, update contact and billing info, and will receive copies of all invoices and payment emails</label>
				<h2>Linode Grants</h2>
				<table>
					<thead>
						<tr>
							<td>Linode</td>
							<td>None</td>
							<td>Read Only</td>
							<td>Read-Write</td>
						</tr>
					</thead>
					<tbody id="linode-grants"></tbody>
				</table>
				<h2>NodeBalancer Grants</h2>
				<table>
					<thead>
						<tr>
							<td>NodeBalancer</td>
							<td>None</td>
							<td>Read Only</td>
							<td>Read-Write</td>
						</tr>
					</thead>
					<tbody id="nb-grants"></tbody>
				</table>
				<h2>Longview Grants</h2>
				<table>
					<thead>
						<tr>
							<td>Server</td>
							<td>None</td>
							<td>Read Only</td>
							<td>Read-Write</td>
						</tr>
					</thead>
					<tbody id="lv-grants"></tbody>
				</table>
				<h2>DNS Zone Grants</h2>
				<table>
					<thead>
						<tr>
							<td>Zone</td>
							<td>None</td>
							<td>Read Only</td>
							<td>Read-Write</td>
						</tr>
					</thead>
					<tbody id="dns-grants"></tbody>
				</table>
				<h2>StackScript Grants</h2>
				<table>
					<thead>
						<tr>
							<td>StackScript</td>
							<td>None</td>
							<td>Read Only</td>
							<td>Read-Write</td>
						</tr>
					</thead>
					<tbody id="ss-grants"></tbody>
				</table>
				<h2>Image Grants</h2>
				<table>
					<thead>
						<tr>
							<td>Image</td>
							<td>None</td>
							<td>Read Only</td>
							<td>Read-Write</td>
						</tr>
					</thead>
					<tbody id="image-grants"></tbody>
				</table>
				<h2>Volume Grants</h2>
				<table>
					<thead>
						<tr>
							<td>Volume</td>
							<td>None</td>
							<td>Read Only</td>
							<td>Read-Write</td>
						</tr>
					</thead>
					<tbody id="volume-grants"></tbody>
				</table>
				<button disabled id="update-button" type="button">Update Grants</button>
			</div>
		</div>
	</body>
</html>