Closed (won't fix)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
27 Jun 2006 at 22:10 UTC
Updated:
29 Jul 2014 at 17:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
chx commentedd'oh! in preview I can't read the patch.
Comment #2
killes@www.drop.org commentedlooks good to me.
Comment #3
dries commentedErm, what is the use case? :-) Can we clean up some stuff?
Comment #4
moshe weitzman commentedsounds good. i got odd message when trying to patch though: "patch: **** Only garbage was found in the patch input."
this gave me the idea about how we should do user switching. several modules like mailhandler and masquerade and devel switch the currently logged in user during the request. they attempt to switch the user back later but if something happens tothe request, the current user can actually have their session switched to another user. I think we could use this same trick to assure that the session table records are never switched, and thus the impersonation could not persist.
Comment #5
dries commentedComment #6
LAsan commentedStill applies to current version?
Comment #7
Freso commentedI guess 7.x is closed for features by now...
Comment #8
marvil07 commentedJust an update of the patch, changing also the name of the added parameter to persistent.
Comment #10
chx commented#8: 0001-Issue-71113-by-chx-Set-a-variable-only-temporary.patch queued for re-testing.
Comment #11
thedavidmeister commentedthis seems fine to me.
Comment #12
alexpottMarking this as won't fix as variable_set() will be gone from Drupal 8...
Comment #13
thedavidmeister commentedI did wonder about that, I thought it had already been removed but there it was, sitting in HEAD so I assumed it was still doing something. I should have just asked in IRC, apologies.