GUACAMOLE-220: Convert "namespace" attribute of managementButtons directive to string binding.

This commit is contained in:
Michael Jumper
2018-05-03 23:37:19 -07:00
parent 2c41e38e55
commit ae0512c266
5 changed files with 5 additions and 5 deletions

View File

@@ -50,7 +50,7 @@ angular.module('manage').directive('managementButtons', ['$injector',
*
* @type String
*/
namespace : '=',
namespace : '@',
/**
* The permissions which dictate the management actions available

View File

@@ -53,7 +53,7 @@
</div>
<!-- Form action buttons -->
<management-buttons namespace="'MANAGE_CONNECTION'"
<management-buttons namespace="MANAGE_CONNECTION"
permissions="managementPermissions"
save="saveConnection()"
delete="deleteConnection()"

View File

@@ -45,7 +45,7 @@
</div>
<!-- Form action buttons -->
<management-buttons namespace="'MANAGE_CONNECTION_GROUP'"
<management-buttons namespace="MANAGE_CONNECTION_GROUP"
permissions="managementPermissions"
save="saveConnectionGroup()"
delete="deleteConnectionGroup()"

View File

@@ -34,7 +34,7 @@
</div>
<!-- Form action buttons -->
<management-buttons namespace="'MANAGE_SHARING_PROFILE'"
<management-buttons namespace="MANAGE_SHARING_PROFILE"
permissions="managementPermissions"
save="saveSharingProfile()"
delete="deleteSharingProfile()"

View File

@@ -65,7 +65,7 @@
</connection-permission-editor>
<!-- Form action buttons -->
<management-buttons namespace="'MANAGE_USER'"
<management-buttons namespace="MANAGE_USER"
permissions="managementPermissions[dataSource]"
save="saveUser()"
delete="deleteUser()"