protected function applyAssignConfig(array $config) : void
    {
        $this->assignRoles(ArrayHelper::get($config, 'roles', []));
        $this->assignPermissions(ArrayHelper::get($config, 'permissions', []));
    }