cms icon indicating copy to clipboard operation
cms copied to clipboard

[5.x]: Matrix field block configuration buttons not disabled when admin changes disallowed

Open mike-moreau opened this issue 2 months ago • 2 comments

What happened?

Description

I have a site in staging with admin changes not allowed. I can view and click the buttons to modify available blocks on a matrix field. Although the buttons do not work (server error) I think it would be best if they were not clickable.

Image

Steps to reproduce

  1. disallow admin changes
  2. view a matrix field

Expected behavior

Buttons disabled

Actual behavior

Buttons enabled

Craft CMS version

5.8.20

PHP version

8.3

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

No response

mike-moreau avatar Dec 05 '25 21:12 mike-moreau

CMS-1711

linear[bot] avatar Dec 05 '25 21:12 linear[bot]

Hi, thanks for reporting! I raised a PR for this.

i-just avatar Dec 08 '25 08:12 i-just