2017-03-24 13:10:32 +00:00
|
|
|
<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> </th>
|
2017-08-07 14:42:02 +01:00
|
|
|
<th>View </th>
|
2017-03-24 13:10:32 +00:00
|
|
|
<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}}"> </label>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<input type="checkbox" id="canEdit-{{permission.userId}}" checked={{permission.canEdit}} />
|
|
|
|
<label for="canEdit-{{permission.userId}}"> </label>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{/each}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<div class="regular-button button-blue" {{action 'setPermissions'}}>Set</div>
|
|
|
|
</div>
|
|
|
|
</div>
|