protected function setDataAccessSettings()
    {
        $access = $this->getData('settings.access');

        if (is_array($access)) {

            $string = '';

            foreach ($access as $role_id => $patterns) {
                foreach ($patterns as $pattern) {
                    $string .= "$role_id $pattern" . PHP_EOL;
                }
            }

            $this->setData('settings.access', trim($string));
        }
    }