WorkspacePreviewPermissions implements MiddlewareInterface
Middleware to set the current page ID (for accessing the page) for the PreviewBackendUser, so the preview user is allowed to actually access the page (even if it is hidden).
Table of Contents
Interfaces
- MiddlewareInterface
Methods
- process() : ResponseInterface
Methods
process()
public
process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
- $request : ServerRequestInterface
- $handler : RequestHandlerInterface