public function setDefaultAction()
    {
        $params     = $this->params();
        $locator    = $this->getServiceLocator();
        $model      = $locator->get( 'Grid\User\Model\User\Group\Model' );
        $group      = $model->find( $params->fromRoute( 'id' ) );

        if ( empty( $group ) )
        {
            $this->getResponse()
                 ->setStatusCode( 404 );

            return;
        }

        if ( $group->predefined )
        {
            $this->getResponse()
                 ->setStatusCode( 403 );

            return;
        }

        if ( ! $this->getPermissionsModel()
                    ->isAllowed( $group, 'edit' ) )
        {
            $this->getResponse()
                 ->setStatusCode( 403 );

            return;
        }

        if ( ! $group->default )
        {
            $group->default = true;

            if ( $group->save() )
            {
                $this->messenger()
                     ->add( 'user.form.group.success',
                            'user', Message::LEVEL_INFO );
            }
            else
            {
                $this->messenger()
                     ->add( 'user.form.group.failed',
                            'user', Message::LEVEL_ERROR );
            }
        }

        return $this->redirect()
                    ->toRoute( 'Grid\User\GroupAdmin\List', array(
                        'locale' => (string) $this->locale(),
                    ) );
    }