Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
block.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Jun 2014 at 00:10 UTC
Updated:
29 Jul 2014 at 23:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tim.plunkettComment #2
tim.plunkettComment #3
blueminds commentedLooks good.
Comment #4
berdirDoes this need a change record (update), I guess the current access would still work but will break eventually when access() does more?
Comment #5
chx commentedI do not see how this could introduce another sechole so good to go.
Comment #6
webchickOk, had few moments where I was concerned about one-offing Block's access stuff here, but was pointed to https://api.drupal.org/api/drupal/core%21modules%21block%21src%21BlockPl... which shows we are already doing that for e.g. blockForm, blockValidate, etc. so this just brings that code inline.
Talked to Tim about the change notice, he's going to go through and update all of them, under penalty of a picture of a sad pit bull. ;)
Therefore, committed and pushed to 8.x. Thanks!
Comment #8
tim.plunkettUpdated https://drupal.org/node/1880620, thanks!
Comment #9
tim.plunkettComment #11
dawehnerNote: If we do move block visibility into the base class you can basically never just implement the interface. Block visibility is kind of orthogonal to pure access and could be implemented somehow outside.