GUACAMOLE-5: Implement management interface for sharing profile permissions.

This commit is contained in:
Michael Jumper
2016-08-04 18:21:32 -07:00
parent 8a8ae8496c
commit e3db19d633
5 changed files with 86 additions and 1 deletions

View File

@@ -79,6 +79,7 @@
context="groupListContext"
connection-groups="filteredRootGroups"
connection-template="'app/manage/templates/connectionPermission.html'"
sharing-profile-template="'app/manage/templates/sharingProfilePermission.html'"
connection-group-template="'app/manage/templates/connectionGroupPermission.html'"
page-size="20"/>
</div>

View File

@@ -0,0 +1,13 @@
<div class="choice">
<!-- Sharing profile icon -->
<div class="icon type"></div>
<!-- Permission checkbox -->
<input type="checkbox" ng-model="context.getPermissionFlags().sharingProfilePermissions.READ[item.identifier]"
ng-change="context.sharingProfilePermissionChanged(item.identifier)"/>
<!-- Sharing profile name -->
<span class="name">{{item.name}}</span>
</div>