GUACAMOLE-220: Convert "namespace" attribute of managementButtons directive to string binding.
diff --git a/guacamole/src/main/webapp/app/manage/directives/managementButtons.js b/guacamole/src/main/webapp/app/manage/directives/managementButtons.js
index 4074548..a83b82c 100644
--- a/guacamole/src/main/webapp/app/manage/directives/managementButtons.js
+++ b/guacamole/src/main/webapp/app/manage/directives/managementButtons.js
@@ -50,7 +50,7 @@
*
* @type String
*/
- namespace : '=',
+ namespace : '@',
/**
* The permissions which dictate the management actions available
diff --git a/guacamole/src/main/webapp/app/manage/templates/manageConnection.html b/guacamole/src/main/webapp/app/manage/templates/manageConnection.html
index e780513..17a1108 100644
--- a/guacamole/src/main/webapp/app/manage/templates/manageConnection.html
+++ b/guacamole/src/main/webapp/app/manage/templates/manageConnection.html
@@ -53,7 +53,7 @@
</div>
<!-- Form action buttons -->
- <management-buttons namespace="'MANAGE_CONNECTION'"
+ <management-buttons namespace="MANAGE_CONNECTION"
permissions="managementPermissions"
save="saveConnection()"
delete="deleteConnection()"
diff --git a/guacamole/src/main/webapp/app/manage/templates/manageConnectionGroup.html b/guacamole/src/main/webapp/app/manage/templates/manageConnectionGroup.html
index 926dc11..0f12180 100644
--- a/guacamole/src/main/webapp/app/manage/templates/manageConnectionGroup.html
+++ b/guacamole/src/main/webapp/app/manage/templates/manageConnectionGroup.html
@@ -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()"
diff --git a/guacamole/src/main/webapp/app/manage/templates/manageSharingProfile.html b/guacamole/src/main/webapp/app/manage/templates/manageSharingProfile.html
index ac52fa3..d242e59 100644
--- a/guacamole/src/main/webapp/app/manage/templates/manageSharingProfile.html
+++ b/guacamole/src/main/webapp/app/manage/templates/manageSharingProfile.html
@@ -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()"
diff --git a/guacamole/src/main/webapp/app/manage/templates/manageUser.html b/guacamole/src/main/webapp/app/manage/templates/manageUser.html
index 6770d31..660554b 100644
--- a/guacamole/src/main/webapp/app/manage/templates/manageUser.html
+++ b/guacamole/src/main/webapp/app/manage/templates/manageUser.html
@@ -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()"