<trng-repeat="permission in ctrl.userPermissions"class="permissionlist__item">
<trng-repeat="permission in ctrl.userPermissions"class="permissionlist__item">
<td><iclass="fa fa-fw fa-user"></i></td>
<td>{{permission.userLogin}}</td>
<td>{{permission.userLogin}}</td>
<td><selectclass="gf-form-input gf-size-auto"ng-model="permission.permissions"ng-options="p.value as p.text for p in ctrl.permissionTypeOptions"ng-change="ctrl.updatePermission(permission)"></select></td>
<td><selectclass="gf-form-input gf-size-auto"ng-model="permission.permissions"ng-options="p.value as p.text for p in ctrl.permissionTypeOptions"ng-change="ctrl.updatePermission(permission)"></select></td>
<trng-repeat="permission in ctrl.userGroupPermissions"class="permissionlist__item">
<trng-repeat="permission in ctrl.userGroupPermissions"class="permissionlist__item">
<td><iclass="fa fa-fw fa-users"></i></td>
<td>{{permission.userGroup}}</td>
<td>{{permission.userGroup}}</td>
<td><selectclass="gf-form-input gf-size-auto"ng-model="permission.permissionType"ng-options="p.value as p.text for p in ctrl.permissionTypeOptions"ng-change="ctrl.updatePermission(permission)"></select></td>
<td><selectclass="gf-form-input gf-size-auto"ng-model="permission.permissions"ng-options="p.value as p.text for p in ctrl.permissionTypeOptions"ng-change="ctrl.updatePermission(permission)"></select></td>
<trng-repeat="role in ctrl.roles"class="permissionlist__item">
<td></td>
<td>{{role.name}}</td>
<td><selectclass="gf-form-input gf-size-auto"ng-model="role.permissions"ng-options="p.value as p.text for p in ctrl.roleOptions"ng-change="ctrl.updatePermission(role)"></select></td>