Merge pull request #16363 from CartoDB/feature/sc-188883/abachiller-superadmin-changes-not-applying

[sc188883] Improve info for :update_user command
pull/16375/head
Shylpx 3 years ago committed by GitHub
commit 2f63abe18a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -22,6 +22,7 @@ Development
- Add marginTop to Page when notification is displayed [#16355](https://github.com/CartoDB/cartodb/pull/16355) - Add marginTop to Page when notification is displayed [#16355](https://github.com/CartoDB/cartodb/pull/16355)
- Add "element" param to DO-Catalog entry function [#16343](https://github.com/CartoDB/cartodb/pull/16343) - Add "element" param to DO-Catalog entry function [#16343](https://github.com/CartoDB/cartodb/pull/16343)
- Add new DO Catalog route for internal usage [#16342](https://github.com/CartoDB/cartodb/pull/16342) - Add new DO Catalog route for internal usage [#16342](https://github.com/CartoDB/cartodb/pull/16342)
- Improve info for :update_user command [#16363](https://github.com/CartoDB/cartodb/pull/16363)
- Disable email validation in DO Premium Subscriptions [#16309](https://github.com/CartoDB/cartodb/pull/16309) - Disable email validation in DO Premium Subscriptions [#16309](https://github.com/CartoDB/cartodb/pull/16309)
- Hide sharing tab from viewer in on-premises [#16299](https://github.com/CartoDB/cartodb/pull/16299) - Hide sharing tab from viewer in on-premises [#16299](https://github.com/CartoDB/cartodb/pull/16299)
- Remove all references to Spatial Data Catalog and Kepler GL maps in on-premises [#16293](https://github.com/CartoDB/cartodb/pull/16293) - Remove all references to Spatial Data Catalog and Kepler GL maps in on-premises [#16293](https://github.com/CartoDB/cartodb/pull/16293)

@ -14,7 +14,12 @@ class CentralUserCommands
def update_user(message) def update_user(message)
payload = message.payload payload = message.payload
Carto::Common::CurrentRequest.with_request_id(message.request_id) do Carto::Common::CurrentRequest.with_request_id(message.request_id) do
logger.info(message: 'Processing :update_user', class_name: self.class.name) logger.info(
message: 'Processing :update_user',
remote_user_id: payload['remote_user_id'],
class_name: self.class.name
)
user_id = payload.delete('remote_user_id') user_id = payload.delete('remote_user_id')
return unless user_id.present? && payload.any? return unless user_id.present? && payload.any?

Loading…
Cancel
Save