protected function findFrontendGroups($record, $table)
    {
        if ($this->originalTca[$table]['ctrl']['enablecolumns']['fe_group']) {
            $frontendGroups = $record[$this->originalTca[$table]['ctrl']['enablecolumns']['fe_group']];

            if (empty($frontendGroups)) {
                // default = public access
                $frontendGroups = 0;
            } else {
                if ($this->request->getParameter('loggingEnabled')) {
                    $this->logger->log(
                        SolrLogManager::INFO,
                        'Access restriction found',
                        [
                            'groups' => $frontendGroups,
                            'record' => $record,
                            'record type' => $table,
                        ]
                    );
                }
            }

            $this->frontendGroups[] = $frontendGroups;
        }
    }
protected function findFrontendGroups($record, $table)
    {
        if ($this->originalTca[$table]['ctrl']['enablecolumns']['fe_group']) {
            $frontendGroups = $record[$this->originalTca[$table]['ctrl']['enablecolumns']['fe_group']];

            if (empty($frontendGroups)) {
                // default = public access
                $frontendGroups = 0;
            } else {
                if ($this->request->getParameter('loggingEnabled')) {
                    $this->logger->log(
                        SolrLogManager::INFO,
                        'Access restriction found',
                        [
                            'groups' => $frontendGroups,
                            'record' => $record,
                            'record type' => $table,
                        ]
                    );
                }
            }

            $this->frontendGroups[] = $frontendGroups;
        }
    }
protected function findFrontendGroups ( $ record , $ table ) { if ( $ this -> originalTca [ $ table ] [ 'ctrl' ] [ 'enablecolumns' ] [ 'fe_group' ] ) { $ frontendGroups = $ record [ $ this -> originalTca [ $ table ] [ 'ctrl' ] [ 'enablecolumns' ] [ 'fe_group' ] ] ; if ( empty ( $ frontendGroups ) ) { // default = public access $ frontendGroups = 0 ; } else { if ( $ this -> request -> getParameter ( 'loggingEnabled' ) ) { $ this -> logger -> log ( SolrLogManager :: INFO , 'Access restriction found' , [ 'groups' => $ frontendGroups , 'record' => $ record , 'record type' => $ table , ] ) ; } } $ this -> frontendGroups [ ] = $ frontendGroups ; } }
Tracks user groups access restriction applied to records.

@param array $record A record as an array of fieldname => fieldvalue mappings
@param string $table Table name the record belongs to
Tracks user groups access restriction applied to records .