mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUACAMOLE-220: Convert "namespace" attribute of managementButtons directive to string binding.
This commit is contained in:
@@ -50,7 +50,7 @@ angular.module('manage').directive('managementButtons', ['$injector',
|
||||
*
|
||||
* @type String
|
||||
*/
|
||||
namespace : '=',
|
||||
namespace : '@',
|
||||
|
||||
/**
|
||||
* The permissions which dictate the management actions available
|
||||
|
@@ -53,7 +53,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Form action buttons -->
|
||||
<management-buttons namespace="'MANAGE_CONNECTION'"
|
||||
<management-buttons namespace="MANAGE_CONNECTION"
|
||||
permissions="managementPermissions"
|
||||
save="saveConnection()"
|
||||
delete="deleteConnection()"
|
||||
|
@@ -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()"
|
||||
|
@@ -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()"
|
||||
|
@@ -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()"
|
||||
|
Reference in New Issue
Block a user