protected function _actionSetprivacy($context)
    {
        $data = $context->data;

        $names = AnConfig::unbox($data->privacy_name);

        settype($names, 'array');

        foreach ($names as $name) {
            $this->getItem()->setPermission($name, $data->$name);
        }
    }