Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Major
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 May 2012 at 21:28 UTC
Updated:
29 Jul 2014 at 20:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Crell commentedComment #2
catchComment #3
Crell commentedThis should be fairly routine.
Comment #4
underq commentedPatch done, need review ;-)
Comment #6
underq commentedAdd
use SymfonyComponentHttpKernelExceptionAccessDeniedHttpException;/code>Comment #8
albert volkman commentedRe-roll.
Comment #9
aspilicious commentedComment #10
pfrenssenThe are mentions of drupal_access_denied() scattered across the documentation, please update these too.
For example, in the documentation for drupal_deliver_page():
Comment #11
pfrenssenI'll do this, have done the same in #1587850: Replace drupal_not_found() with throw NotFoundHttpException. The patches in these two issues will give conflicts anyway since they are affecting the same lines of documentation.
Comment #12
pfrenssenDid the following updates to the patch in #8:
Comment #13
Niklas Fiekas commentedAwesome! And also: Yay! #1587850: Replace drupal_not_found() with throw NotFoundHttpException is in.
#12: 1591604-12-core-replace_drupal_access_denied.patch queued for re-testing.
Comment #15
Anonymous (not verified) commentedI've rebased pfrenssen's patch on the latest head, should hopefully test OK now.
Comment #16
aspilicious commentedYou forgot to remove the drupal_access_denied() function
Comment #17
Anonymous (not verified) commentedSorry, that was the point after all!
There were also some other changes missing. This should cover includes/common.inc, includes/file.inc and modules/aggregator/aggregator.admin.inc, and in the process removing the function.
Comment #18
aspilicious commentedDid a grep, is rtbc if this come back green!
Comment #19
underq commentedRebased chrisdolby patch with remove drupal_access_denied(), edit file_download() comment and add AccessDeniedHttpException() in aggregator_admin_refresh_feed() function.
I hope that's good.
Comment #20
underq commentedOups you are so fast :)
Comment #21
aspilicious commentedThey both are correct, but the patch command they use was different, thats why there is a size change. Btw you can't access the first patch anymore because they used the same name while crossposting, so the second one overwrites the first one.
Comment #22
tim.plunkettNo, one was core_replace and the other core-replace.
The first patch changes the file permissions which is wrong. The second one (#19) is RTBC.
Comment #23
aspilicious commentedWoow timplunkett, I didn't notice the subtle permission change in the git headers.
Thank you!
Comment #24
dries commentedGreat. Love the clean-ups. Committed to 8.x. Thanks!
Comment #25
David_Rothstein commentedThis and several other issues look like they weren't actually committed/pushed. So, #19 is still RTBC.
Comment #26
dries commentedCommitted now: http://drupalcode.org/project/drupal.git/commit/002769e
Comment #27
David_Rothstein commentedFor anyone who's looking for it, a change notification for this issue was started at http://drupal.org/node/1616360