<div class="sidebar-panel">
	<div class="title">Space Permissions</div>
	<div class="sidebar-permissions folder-sidebar-form-wrapper">
		<table class="permissions-table">
			<thead>
				<tr>
					<th>&nbsp;</th>
					<th>View&nbsp;</th>
					<th>Edit</th>
				</tr>
			</thead>
			<tbody>
				{{#each permissions key="@index" as |permission|}}
					<tr>
						<td>{{permission.fullname}}</td>
						<td>
							<input type="checkbox" id="canView-{{permission.userId}}" checked={{permission.canView}} />
							<label for="canView-{{permission.userId}}">&nbsp;</label>
						</td>
						<td>
							<input type="checkbox" id="canEdit-{{permission.userId}}" checked={{permission.canEdit}} />
							<label for="canEdit-{{permission.userId}}">&nbsp;</label>
						</td>
					</tr>
				{{/each}}
			</tbody>
		</table>
		<div class="regular-button button-blue" {{action 'setPermissions'}}>Set</div>
	</div>
</div>
