Problem/Motivation
User has access to the block library page (/admin/structure/block/library/{theme}) even if he doesn't have access to "Administer block settings for the theme {theme}"
Steps to reproduce
Create a user with permission "administer blocks". Open block library page of the theme, example - /admin/structure/block/library/bartik.
Actual result - page is opened.
Expected result - access denied.
Block lists page '/admin/structure/block/list/{theme}' works as expected.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | block_permissions-library_page_access-3168737-2.patch | 690 bytes | sinn |
Comments
Comment #2
sinn commentedFix is attached.
Comment #3
andras_szilagyi commentedLook good works well
Comment #4
sinn commentedLet's try to test it here.
Comment #5
sinn commentedRun tests
Comment #7
sinn commented