Comments

ASupinski’s picture

StatusFileSize
new780 bytes

patch file

mr.baileys’s picture

Status: Active » Needs review

Updating status.

bojanz’s picture

There might be legal repercussions based on who you show the hostname to, see: http://drupal.org/node/743320#comment-2848090

alberto56’s picture

Status: Needs review » Reviewed & tested by the community

Thanks, this is what I needed. The patch applies with some fuzz to the latest version and works as expected.

ASupinski’s picture

Any 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.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 1: ExposeOrderHostnameToViews-1293894.patch, failed testing.

Marko B’s picture

Issue summary: View changes

I 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.

Marko B’s picture

Anyway 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?

andyg5000’s picture

Status: Needs work » Needs review
StatusFileSize
new1.09 KB

Updated 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.

mglaman’s picture

What 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.

andyg5000’s picture

What 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.

mglaman’s picture

That works for me.

andyg5000’s picture

Marko B’s picture

Looks good. great.