mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +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 |              * @type String | ||||||
|              */ |              */ | ||||||
|             namespace : '=', |             namespace : '@', | ||||||
|  |  | ||||||
|             /** |             /** | ||||||
|              * The permissions which dictate the management actions available |              * The permissions which dictate the management actions available | ||||||
|   | |||||||
| @@ -53,7 +53,7 @@ | |||||||
|     </div> |     </div> | ||||||
|  |  | ||||||
|     <!-- Form action buttons --> |     <!-- Form action buttons --> | ||||||
|     <management-buttons namespace="'MANAGE_CONNECTION'" |     <management-buttons namespace="MANAGE_CONNECTION" | ||||||
|           permissions="managementPermissions" |           permissions="managementPermissions" | ||||||
|           save="saveConnection()" |           save="saveConnection()" | ||||||
|           delete="deleteConnection()" |           delete="deleteConnection()" | ||||||
|   | |||||||
| @@ -45,7 +45,7 @@ | |||||||
|     </div> |     </div> | ||||||
|  |  | ||||||
|     <!-- Form action buttons --> |     <!-- Form action buttons --> | ||||||
|     <management-buttons namespace="'MANAGE_CONNECTION_GROUP'" |     <management-buttons namespace="MANAGE_CONNECTION_GROUP" | ||||||
|           permissions="managementPermissions" |           permissions="managementPermissions" | ||||||
|           save="saveConnectionGroup()" |           save="saveConnectionGroup()" | ||||||
|           delete="deleteConnectionGroup()" |           delete="deleteConnectionGroup()" | ||||||
|   | |||||||
| @@ -34,7 +34,7 @@ | |||||||
|     </div> |     </div> | ||||||
|  |  | ||||||
|     <!-- Form action buttons --> |     <!-- Form action buttons --> | ||||||
|     <management-buttons namespace="'MANAGE_SHARING_PROFILE'" |     <management-buttons namespace="MANAGE_SHARING_PROFILE" | ||||||
|           permissions="managementPermissions" |           permissions="managementPermissions" | ||||||
|           save="saveSharingProfile()" |           save="saveSharingProfile()" | ||||||
|           delete="deleteSharingProfile()" |           delete="deleteSharingProfile()" | ||||||
|   | |||||||
| @@ -65,7 +65,7 @@ | |||||||
|         </connection-permission-editor> |         </connection-permission-editor> | ||||||
|  |  | ||||||
|         <!-- Form action buttons --> |         <!-- Form action buttons --> | ||||||
|         <management-buttons namespace="'MANAGE_USER'" |         <management-buttons namespace="MANAGE_USER" | ||||||
|               permissions="managementPermissions[dataSource]" |               permissions="managementPermissions[dataSource]" | ||||||
|               save="saveUser()" |               save="saveUser()" | ||||||
|               delete="deleteUser()" |               delete="deleteUser()" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user