Needs review
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Order
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Sep 2011 at 18:59 UTC
Updated:
31 Mar 2017 at 08:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ASupinski commentedpatch file
Comment #2
mr.baileysUpdating status.
Comment #3
bojanz commentedThere might be legal repercussions based on who you show the hostname to, see: http://drupal.org/node/743320#comment-2848090
Comment #4
alberto56 commentedThanks, this is what I needed. The patch applies with some fuzz to the latest version and works as expected.
Comment #5
ASupinski commentedAny chance of getting this into the main line? I understand there could be issues with exposing information in the wrong way but there is a lot of content that shouldn't be exposed to all users that doesn't mean admins don't have a reason to be able to access it.
Comment #7
Marko B commentedI understand privacy issues, but this should be the reason for not having it. For example IP list can be used to help with IP fraud detections and should be accessable for users with proper levels of permissions.
Comment #8
Marko B commentedAnyway this patch will enable you to have IP address exposed in Views field. Not know why it failed testing, dont know anything about patch testing at this point?
Comment #9
andyg5000Updated patch to include order revision IP as well. I'm in favor of committing this (obviously) because we're not adding the field to any views, but providing the ability to do so at your own risk.
Comment #10
mglamanWhat if we provide obfuscation of the IP address when displayed? Like as an option. That way it can be used when exporting a report, but obfuscated when displayed on the website UI.
Then this could be enabled by default.
Comment #11
andyg5000What about updating the view handler descriptions to have a notice that says exposing hostname/ip may be against PI laws in some countries? I don't really know why you'd ever want an obfuscated IP. The reason I had to create this is because site owners need the ability to see the IP when reporting fraudulent orders.
Comment #12
mglamanThat works for me.
Comment #13
andyg5000Comment #14
Marko B commentedLooks good. great.