Bug 54929

Summary: Некорректная блокировка настройки контрастности в шаблоне групповых политик GNOME
Product: Sisyphus Reporter: Vladislav Glinkin <glinkinvd>
Component: admx-basealtAssignee: Valentin Sokolov <sova>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: sin, sova
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Vladislav Glinkin 2025-06-25 13:07:00 MSK
Версия пакета: admx-basealt-0.5.0-alt1

После блокировки настройки контрастности на клиентской машине блокируется не та настройка:
    <policy name="OrgGnomeDesktopA11YInterfaceHighContrastMachine" class="Machine"
        displayName="$(string.org-gnome-desktop-a11y-interface-high-contrast)"
        explainText="$(string.org-gnome-desktop-a11y-interface-high-contrast_help)"
        key="Software\BaseALT\Policies\gsettings"
        presentation="$(presentation.OrgGnomeDesktopA11YInterfaceHighContrastMachine-pr)" >
      <parentCategory ref="system:ALT_Vision_Gnome" />
      <supportedOn ref="system:SUPPORTED_AltP11" />
      <elements>
        <enum id="gnome-state_setter" required="true" valueName="org.gnome.desktop.a11y.interface.high-contrast">
          <item displayName="$(string.gnome-state-on)">
            <value>
              <decimal value="1" />
            </value>
          </item>
          <item displayName="$(string.gnome-state-off)">
            <value>
              <decimal value="0" />
            </value>
          </item>
        </enum>
        <boolean id="gnome-state_blocker" key="Software\BaseALT\Policies\GSettingsLocks" valueName="org.gnome.desktop.notifications.show-in-lock-screen">
          <trueValue>
            <decimal value="1" />
          </trueValue>
          <falseValue>
            <decimal value="0" />
          </falseValue>
        </boolean>
      </elements>
    </policy>

Видимо опечатка, должно быть:
@@ -18,7 +18,7 @@
             </value>
           </item>
         </enum>
-        <boolean id="gnome-state_blocker" key="Software\BaseALT\Policies\GSettingsLocks" valueName="org.gnome.desktop.notifications.show-in-lock-screen">
+        <boolean id="gnome-state_blocker" key="Software\BaseALT\Policies\GSettingsLocks" valueName="org.gnome.desktop.a11y.interface.high-contrast">
           <trueValue>
             <decimal value="1" />
           </trueValue>
Comment 1 Repository Robot 2025-08-14 16:02:14 MSK
admx-basealt-0.6.0-alt1 -> sisyphus:

Thu Aug 14 2025 Valentin Sokolov <sova@altlinux> 0.6.0-alt1
- Added disable cifsacl policy for user
- Improved name Gnome -> GNOME in all policies
- Improved LAPS policy description
- Removed dbus.service policy
- Fix bugs (closes: 54884, 54929, 54944, 54945, 55365, 54400, 55550, 54402, 53920)