Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
user system
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Aug 2013 at 09:06 UTC
Updated:
29 Jul 2014 at 22:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
internetdevels commentedLooks like $request does not contain account in some cases, so I've used \Drupal::request(), not sure where I should look to fix this.
Comment #2
andypostUse Drupal::currentUser() service https://drupal.org/node/2032447
Comment #3
internetdevels commentedNew patch attached.
Comment #4
andypostPostponed til #2048223: Add $account argument to AccessCheckInterface::access() method and use the current_user service
This should be proper service injection
Comment #5
internetdevels commentedSecond point is done.
Comment #6
ParisLiakos commentedComment #7
andypostThe one one hunk left
Comment #8
andypostComment #10
andypost7: drupal-aggregator_replace_user_access-2061969-7.patch queued for re-testing.
Comment #13
ParisLiakos commented7: drupal-aggregator_replace_user_access-2061969-7.patch queued for re-testing.
Comment #14
ParisLiakos commentedthank you bot -.-
Comment #15
webchickCommitted and pushed to 8.x. Thanks!