Issue Bug Closed

#108723Workspace preview actions interrupted by elements on root page

Andreas Wolf 01/22/26, 07:44 updated 11/13/26, 08:57

Description

Situation: A BE user with non-admin permissions is working in a workspace.

When e.g. sending a page to review, permission checks are performed by EXT:workspaces’ DataHandlerHook class. This is all working well for regular pages + content elements that are part of a workspace page. However, if a record on page 0, e.g. a sys_file_reference or sys_file_metadata, is published, the access check fails with an exception and interrupts the publishing flow.

Code deep dive: The access check is done via DataHandler::hasPermissionToUpdate(), which in turn – among others – calls BackendUserAuthentication::isInWebMount(). This then fails as the page record passed by DataHandlerHook is an empty array (because for pid 0 there is no page record).

IMO, since page 0 does not have any permissions assigned and also cannot be part of any workspace, the permission check in this case should be limited to checking the table’s security flags, like the root level restriction.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 2

  1. Benni Mack commented and changed status New Closed <span data-processor="relativetime" data-value="2026-11-13T08:57:17+00:00" > 11/13/26, 08:57 </span>

    Fixed in june with #107432