SimulatableFrontendUserGroupsResolver

final readonly class \TYPO3\CMS\Core\Authentication\SimulatableFrontendUserGroupsResolver

This class finds the frontend user groups that a backend user may simulate.

The list contains the groups on the pages that the backend user has the permission Permission::PAGE_SHOW for. The default restrictions of the query builder apply to the groups and to the pages. Thus the list does not contain these groups:

  • a hidden group
  • a group on a hidden page
  • a group on a page with a start time in the future
  • a group on a page with an end time in the past
  • a group on the root level, because it is not on a page

Attributes

#[Autoconfigure]
$public: true

Table of Contents

Methods

__construct()  : mixed
resolve()  : array<int, array{uid: int, title: string}>

Methods

On this page