GUAC-586: Simplify and fix connection permission checks in management UI.

This commit is contained in:
Michael Jumper
2015-09-03 15:44:03 -07:00
parent 7a47064cd1
commit df34b87460
2 changed files with 28 additions and 56 deletions

View File

@@ -28,11 +28,11 @@
<div class="action-buttons">
<a class="add-connection button"
ng-show="canCreateConnections"
ng-show="canCreateConnections()"
href="#/manage/{{dataSource}}/connections/">{{'SETTINGS_CONNECTIONS.ACTION_NEW_CONNECTION' | translate}}</a>
<a class="add-connection-group button"
ng-show="canCreateConnectionGroups"
ng-show="canCreateConnectionGroups()"
href="#/manage/{{dataSource}}/connectionGroups/">{{'SETTINGS_CONNECTIONS.ACTION_NEW_CONNECTION_GROUP' | translate}}</a>
</div>