mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 17:13:21 +00:00 
			
		
		
		
	GUACAMOLE-5: Replace UserRESTService with new resource-driven implementation.
This commit is contained in:
		| @@ -227,14 +227,14 @@ angular.module('settings').directive('guacSettingsUsers', [function guacSettings | ||||
|                         PermissionSet.ObjectPermissionType.DELETE | ||||
|                     ]); | ||||
|  | ||||
|                 userPromise.then(function usersReceived(userArrays) { | ||||
|                 userPromise.then(function usersReceived(allUsers) { | ||||
|  | ||||
|                     var addedUsers = {}; | ||||
|                     $scope.manageableUsers = []; | ||||
|  | ||||
|                     // For each user in each data source | ||||
|                     angular.forEach(dataSources, function addUserList(dataSource) { | ||||
|                         angular.forEach(userArrays[dataSource], function addUser(user) { | ||||
|                         angular.forEach(allUsers[dataSource], function addUser(user) { | ||||
|  | ||||
|                             // Do not add the same user twice | ||||
|                             if (addedUsers[user.username]) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user