﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
2747	[patch] send X-Headers for Doc Bookmarklets to logged in users	Maximillian Dornseif <md@…>	Adrian Holovaty	"This patch makes {{{ /admin/doc/bookmarklets/ }}} work for people without static IPs by returning the X-Headers not only to clients comming from STATIC_IPS. The X-Headers are sent to all logged in users with {{{ is_staff=True }}}.

So basically the criterion is:

{{{
  if (request.META.get('REMOTE_ADDR') in settings.INTERNAL_IPS) \
     or (request.user.is_authenticated() and request.user.is_staff):
}}}

Nice for developers/admins who come from an dynamic IP.
"	enhancement	closed	contrib.admin	dev	normal	fixed			Unreviewed	1	0	0	0	0	0
