Problem/Motivation
Seems the configuration of block entity has been changes since block.block.*.* schema created which is causing 'access denied' at #1998600: Block config translation fails
Currrent config for a sample block is this:
id: bartik.help
uuid: ffe30071-4298-436f-a900-d7da9bb4d144
weight: '0'
status: '1'
langcode: en
region: help
plugin: system_help_block
settings:
label: 'System Help'
module: system
label_display: '0'
cache: '-1'
visibility:
path:
visibility: '0'
pages: ''
role:
roles: { }
node_type:
types:
article: '0'
page: '0'
visibility__active_tab: edit-visibility-path
Where as config schema is this:
# Schema for the configuration files of the Block module.
block.block.*.*:
type: mapping
label: 'Block'
mapping:
id:
type: string
label: 'ID'
uuid:
type: string
label: 'UUID'
label:
type: label
label: 'Title'
label_display:
type: string
label: 'Display title'
region:
type: string
label: 'Region'
weight:
type: integer
label: 'Weight'
module:
type: string
label: 'Module'
status:
type: boolean
label: 'Status'
visibility:
type: mapping
label: 'Visibility settings'
mapping:
path:
type: mapping
label: 'Pages'
mapping:
visibility:
type: integer
label: 'Visibility'
pages:
type: string
label: 'Show block on specific pages'
role:
type: mapping
label: 'Roles'
mapping:
roles:
type: sequence
label: 'Show block for specific roles'
sequence:
- type: string
label: 'Role'
node_type:
type: mapping
label: 'Content types'
mapping:
types:
type: sequence
label: 'Show block for specific content types'
sequence:
- type: string
label: 'Node type'
visibility__active_tab:
type: string
label: 'Visibility active tab'
plugin:
type: string
label: 'Plugin'
settings:
type: mapping
label: 'Block settings'
mapping:
admin_label:
type: label
label: 'Description'
cache:
type: integer
label: 'Cache'
status:
type: boolean
label: 'Status'
info:
type: label
label: 'Admin info'
view_mode:
type: string
label: 'View mode'
langcode:
type: string
label: 'Language code'
Proposed resolution
Update block.schema.yml to make it align with current block config.