When I'm creating a new block in views , and trying to get it's id and links i get this error
/api/block/block?_format=api_json
"errors": [
{
"title": "Forbidden",
"status": 403,
"detail": "Access checks failed for entity block:views_block__frontpage_helloblock.",
"links": {
"info": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4"
},
"code": 0
},
I tried several ways , creating different blocks ( filed , content , search ) with all permission ( anonymous ) , but no chance !?
Is this limited to getting default system blocks !?
Comments
Comment #2
e0ipsoPlease retry with the latest code in
-dev.Comment #3
e0ipsoComment #4
wim leersThen it should work!
Did you really grant the anonymous user all permissions? This is very dangerous!
See
\Drupal\block\Entity\Block:Which means
BlockAccessControlHandleris related, which means #2820315: Blocks' 'view' operation is interpreted as "render on page" instead of "read this config entity" is probably affecting you.Comment #5
wim leersComment #6
gabesullice