Error: "Non-reusable blocks must set an access dependency for access control"

Created on 5 March 2024, 10 months ago

This was reported previously. If you clone a block that has a Media field/Media Library, then the Media Library throws lots of JS errors preventing the upload or selection of a media file.

An AJAX HTTP error occurred.
HTTP Result Code: 403
Debugging information follows.
Path: https://www.mysite.org/media-library?media_library_opener_id=media_library.opener.field_widget&media_library_allowed_types%5Bicon%5D=icon&media_library_allowed_types%5Bimage%5D=image&media_library_allowed_types%5Blogo%5D=logo&media_library_allowed_types%5Bremote_video%5D=remote_video&media_library_selected_type=image&media_library_remaining=1&media_library_opener_parameters%5Bfield_widget_id%5D=field_media%3A-settings-block_form&media_library_opener_parameters%5Bentity_type_id%5D=block_content&media_library_opener_parameters%5Bbundle%5D=media&media_library_opener_parameters%5Bfield_name%5D=field_media&media_library_opener_parameters%5Bentity_id%5D=4125&media_library_opener_parameters%5Brevision_id%5D=8148&hash=OAxqBt8AWPe8wiB9iB_EsHxZi5Sb-xQTawdn9-gZDWo&media_library_content=1
StatusText: error
ResponseText: {"message":"Non-reusable blocks must set an access dependency for access control."}"

This is only happening for cloned blocks. I'm User 1, so ruling out permissions settings.

πŸ› Bug report
Status

Active

Version

1.3

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kruser

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024