mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	GUACAMOLE-292: Define and use standard attributes for user organization and role.
This commit is contained in:
		| @@ -85,7 +85,22 @@ angular.module('rest').factory('User', [function defineUser() { | ||||
|          * | ||||
|          * @type String | ||||
|          */ | ||||
|         EMAIL_ADDRESS : 'guac-email-address' | ||||
|         EMAIL_ADDRESS : 'guac-email-address', | ||||
|  | ||||
|         /** | ||||
|          * The organization, company, group, etc. that the user belongs to. | ||||
|          * | ||||
|          * @type String | ||||
|          */ | ||||
|         ORGANIZATION : 'guac-organization', | ||||
|  | ||||
|         /** | ||||
|          * The role that the user has at the organization, company, group, etc. | ||||
|          * they belong to. | ||||
|          * | ||||
|          * @type String | ||||
|          */ | ||||
|         ORGANIZATIONAL_ROLE : 'guac-organizational-role' | ||||
|  | ||||
|     }; | ||||
|  | ||||
|   | ||||
| @@ -699,8 +699,10 @@ | ||||
|  | ||||
|     "USER_ATTRIBUTES" : { | ||||
|  | ||||
|         "FIELD_HEADER_GUAC_EMAIL_ADDRESS" : "Email address:", | ||||
|         "FIELD_HEADER_GUAC_FULL_NAME"     : "Full name:" | ||||
|         "FIELD_HEADER_GUAC_EMAIL_ADDRESS"       : "Email address:", | ||||
|         "FIELD_HEADER_GUAC_FULL_NAME"           : "Full name:", | ||||
|         "FIELD_HEADER_GUAC_ORGANIZATION"        : "Organization:", | ||||
|         "FIELD_HEADER_GUAC_ORGANIZATIONAL_ROLE" : "Role:" | ||||
|  | ||||
|     }, | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user