Bradley Bennett created GUACAMOLE-2311:
------------------------------------------

             Summary: Profile changes are not saved when a user edits their own 
settings
                 Key: GUACAMOLE-2311
                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-2311
             Project: Guacamole
          Issue Type: Bug
          Components: guacamole-auth-jdbc
    Affects Versions: 1.6.0, 1.6.1 [staging]
            Reporter: Bradley Bennett


When a user edits their own profile, changes to full name, email, organization, 
and role are silently discarded and never reach the database.

Self-edits are filtered by *UserObjectTranslator.filterExternalObject()* using 
*getUserPreferenceAttributes()*. For *ModeledUserContext*, that currently 
returns no allowed fields, so *filterAttributes()* strips all profile 
attributes before the update is processed. The fix is to have 
*ModeledUserContext *expose the standard profile fields as user-editable 
preferences.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to