<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>54381</bug_id>
          
          <creation_ts>2025-05-20 11:49:56 +0300</creation_ts>
          <short_desc>При попытке создания организации с зарезервированным именем сбрасывается указанная видимость</short_desc>
          <delta_ts>2025-11-12 12:05:00 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>forgejo</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Artem Varaksa">varaksaaa</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>maks1ms</cc>
    
    <cc>maksimenkovda</cc>
    
    <cc>shaba</cc>
    
    <cc>sychkinsv</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>265197</commentid>
    <comment_count>0</comment_count>
    <who name="Artem Varaksa">varaksaaa</who>
    <bug_when>2025-05-20 11:49:56 +0300</bug_when>
    <thetext>Шаги
====

1. # apt-get install -y forgejo
2. # systemctl enable --now forgejo &amp;&amp; sleep 5 &amp;&amp; systemctl status forgejo
3. http://&lt;ip&gt;:3000
- Учётная запись администратора -&gt; задать имя, пароль и email
4. Иконка &quot;+&quot; -&gt; Создать организацию:
- Ввести название организации org
- Указать Видимость: Ограниченная
- Нажать Создать организацию

Фактический результат
=====================

Организация не создаётся из-за зарезервированного имени (ожидаемо).
Однако выбор видимости не сохраняется, полностью очищается. Если ввести другое имя и создать организацию, не выбирая видимость, она создастся публичной, что неожиданно.

Ожидаемый результат
===================

Сохранение выбора видимости.

Воспроизводимость
=================

Воспроизводится на виртуальных машинах:

[sisyphus] ALT Server 11.0 beta20250213 x86_64
[p11+381621] ALT Server 11.0 beta20250213 x86_64
forgejo-11.0.1-alt1.x86_64

[p11] ALT Server 11.0 beta20250213 x86_64
forgejo-10.0.1-alt2.x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>274246</commentid>
    <comment_count>1</comment_count>
    <who name="Сычкин Сергей Витальевич">sychkinsv</who>
    <bug_when>2025-10-11 20:15:48 +0300</bug_when>
    <thetext>Не воспроизводится на ALT Server
Версия пакета: forgejo-11.0.6-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>276546</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry Maksimenkov">maksimenkovda</who>
    <bug_when>2025-11-12 12:05:00 +0300</bug_when>
    <thetext>Ошибка воспроизводится

[sisyphus] ALT Server 11.1
forgejo-11.0.7-alt1

[p11+398398] ALT Server 11.1
forgejo-11.0.7-alt1

[p11] ALT Server 11.1
forgejo-11.0.6-alt1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>