Problem/Motivation
As a goat, I want only the goatherders who can update the entity have access to the path admin/config/content/mollom/report/{entity_type}/{entity}. According to the EntityAccessCheck doxygen, the value of _entity_access needs to include the entity type which is of course impossible because it is dynamic.
Proposed resolution
Surprise! This already works, the doc comment is actually wrong. Behold the entity type called 'entity'. 
Remaining tasks
Document it. No code changes are necessary because testAccessWithTypePlaceholder even tests this, unless I misunderstood something which of course is not hard since I am just a goat.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | Selection_318.png | 121.53 KB | chx |
| #4 | 2778809_3.patch | 1.31 KB | chx |
Comments
Comment #2
chx commentedComment #4
chx commentedComment #5
chx commentedComment #6
dawehnerThis is improving the documentation on a good way!
Comment #7
chx commentedComment #8
catchCommitted/pushed to all three 8.x branches, thanks!
Comment #12
drumm