mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	GUAC-800: Use Forms for attributes, not just Fields.
This commit is contained in:
		| @@ -105,9 +105,10 @@ angular.module('manage').controller('manageUserController', ['$scope', '$injecto | ||||
|  | ||||
|     /** | ||||
|      * All available user attributes. This is only the set of attribute | ||||
|      * definitions, not attribute values. | ||||
|      * definitions, organized as logical groupings of attributes, not attribute | ||||
|      * values. | ||||
|      * | ||||
|      * @type Field[] | ||||
|      * @type Form[] | ||||
|      */ | ||||
|     $scope.attributes = null; | ||||
|  | ||||
|   | ||||
| @@ -36,12 +36,13 @@ angular.module('rest').factory('schemaService', ['$injector', | ||||
|     /** | ||||
|      * Makes a request to the REST API to get the list of available attributes | ||||
|      * for user objects, returning a promise that provides an array of | ||||
|      * @link{Field} objects if successful. Each element of the array describes | ||||
|      * a possible attribute. | ||||
|      * @link{Form} objects if successful. Each element of the array describes | ||||
|      * a logical grouping of possible attributes. | ||||
|      * | ||||
|      * @returns {Promise.<Field[]>} | ||||
|      *     A promise which will resolve with an array of @link{Field} | ||||
|      *     objects, where each @link{Field} describes a possible attribute. | ||||
|      * @returns {Promise.<Form[]>} | ||||
|      *     A promise which will resolve with an array of @link{Form} | ||||
|      *     objects, where each @link{Form} describes a logical grouping of | ||||
|      *     possible attributes. | ||||
|      */ | ||||
|     service.getUserAttributes = function getUserAttributes() { | ||||
|  | ||||
| @@ -63,12 +64,13 @@ angular.module('rest').factory('schemaService', ['$injector', | ||||
|     /** | ||||
|      * Makes a request to the REST API to get the list of available attributes | ||||
|      * for connection objects, returning a promise that provides an array of | ||||
|      * @link{Field} objects if successful. Each element of the array describes | ||||
|      * a possible attribute. | ||||
|      * @link{Form} objects if successful. Each element of the array describes | ||||
|      * a logical grouping of possible attributes. | ||||
|      * | ||||
|      * @returns {Promise.<Field[]>} | ||||
|      *     A promise which will resolve with an array of @link{Field} | ||||
|      *     objects, where each @link{Field} describes a possible attribute. | ||||
|      * @returns {Promise.<Form[]>} | ||||
|      *     A promise which will resolve with an array of @link{Form} | ||||
|      *     objects, where each @link{Form} describes a logical grouping of | ||||
|      *     possible attributes. | ||||
|      */ | ||||
|     service.getConnectionAttributes = function getConnectionAttributes() { | ||||
|  | ||||
| @@ -90,12 +92,13 @@ angular.module('rest').factory('schemaService', ['$injector', | ||||
|     /** | ||||
|      * Makes a request to the REST API to get the list of available attributes | ||||
|      * for connection group objects, returning a promise that provides an array | ||||
|      * of @link{Field} objects if successful. Each element of the array | ||||
|      * describes a possible attribute. | ||||
|      * of @link{Form} objects if successful. Each element of the array | ||||
|      * a logical grouping of possible attributes. | ||||
|      * | ||||
|      * @returns {Promise.<Field[]>} | ||||
|      *     A promise which will resolve with an array of @link{Field} | ||||
|      *     objects, where each @link{Field} describes a possible attribute. | ||||
|      * @returns {Promise.<Form[]>} | ||||
|      *     A promise which will resolve with an array of @link{Form} | ||||
|      *     objects, where each @link{Form} describes a logical grouping of | ||||
|      *     possible attributes. | ||||
|      */ | ||||
|     service.getConnectionGroupAttributes = function getConnectionGroupAttributes() { | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user