Custom role to edit one page works, but Panel displays an error

Hello. Using a clean install of starterkit (Kirby 2.5.8), I create a custom user role that allows a user to only edit a specific content page. Panel allows and saves edits to the page but displays this pop up message (some of the path was removed for privacy) when I click Save:

You are not allowed to do this in file: …/starterkit/panel/app/src/panel/event.php on line: 95

The custom role is defined below. In this starterkit example, The role should allow updating only the Project A page content.

<?php

// site/roles/project-editor.php

return [
  'name' => 'Project A Editor',
  'default' => false,
  'permissions' => [
    '*' => true,
    'panel.site.update' => false,
    'panel.page.visibility' => false,
    'panel.access.options' => false,
    'panel.page.delete' => false,
    'panel.page.create' => false,
    'panel.page.url' => false,
    'panel.widget.site' => false,
    'panel.user.read' => false,
    'panel.user.create' => false,
    'panel.page.update' => function() {
      return $this->target()->page()->uid() == 'project-a';
    }
  ]
];

This is known issue if panel.page.visibility is set to false:

As you can see from the comments, unfortunately, there won’t be a fix in Kirby 2 for this.

As a workaround, you could set the status switch to false in your blueprint, but then only an admin would be able to change the visibility of that page.

options:
  status: false