diff --git a/client/src/components/User/UserPreferencesModel.js b/client/src/components/User/UserPreferencesModel.js index 5efff575efa7..a5a05dd3ad6d 100644 --- a/client/src/components/User/UserPreferencesModel.js +++ b/client/src/components/User/UserPreferencesModel.js @@ -9,13 +9,13 @@ export const getUserPreferencesModel = (user_id) => { information: { title: _l("Manage Information"), id: "edit-preferences-information", - description: config.enable_account_interface - ? _l("Edit your email, addresses and custom parameters or change your public name.") - : _l("Edit your custom parameters."), + description: + config.enable_account_interface && !config.use_remote_user + ? _l("Edit your email, addresses and custom parameters or change your public name.") + : _l("Edit your custom parameters."), url: `/api/users/${user_id}/information/inputs`, icon: "fa-user", redirect: "/user", - disabled: config.use_remote_user, }, password: { title: _l("Change Password"), diff --git a/lib/galaxy/web/framework/middleware/remoteuser.py b/lib/galaxy/web/framework/middleware/remoteuser.py index dc260ceb3958..8e150917e436 100644 --- a/lib/galaxy/web/framework/middleware/remoteuser.py +++ b/lib/galaxy/web/framework/middleware/remoteuser.py @@ -165,6 +165,7 @@ def __call__(self, environ, start_response): "/user/api_key", "/user/edit_username", "/user/dbkeys", + "/user/information", "/user/logout", "/user/toolbox_filters", "/user/set_default_permissions", diff --git a/lib/galaxy/webapps/galaxy/api/users.py b/lib/galaxy/webapps/galaxy/api/users.py index d3d4ea4dcda4..0d5803971801 100644 --- a/lib/galaxy/webapps/galaxy/api/users.py +++ b/lib/galaxy/webapps/galaxy/api/users.py @@ -814,7 +814,7 @@ def get_information(self, trans, id, **kwd): "username": username, } is_galaxy_app = trans.webapp.name == "galaxy" - if trans.app.config.enable_account_interface or not is_galaxy_app: + if (trans.app.config.enable_account_interface and not trans.app.config.use_remote_user) or not is_galaxy_app: inputs.append( { "id": "email_input", @@ -826,7 +826,7 @@ def get_information(self, trans, id, **kwd): } ) if is_galaxy_app: - if trans.app.config.enable_account_interface: + if trans.app.config.enable_account_interface and not trans.app.config.use_remote_user: inputs.append( { "id": "name_input",