Blame SOURCES/0001-schemas-add-new-lockdown-setting-for-password-showin.patch

82eb7d
From 7c0887c5a50434aa000f0db538382613f0944ac2 Mon Sep 17 00:00:00 2001
82eb7d
From: Ray Strode <rstrode@redhat.com>
82eb7d
Date: Wed, 21 Aug 2019 13:41:08 -0400
82eb7d
Subject: [PATCH] schemas: add new lockdown setting for password showing
82eb7d
82eb7d
A convenient feature of many password entries is the
82eb7d
"Show Password" menu that lets the user see what password
82eb7d
is hidden behind the bullets they're typing.
82eb7d
82eb7d
While certainly useful, it can also be problematic in some
82eb7d
deployments, and violate security policies.
82eb7d
82eb7d
This commit adds a new setting to rid users of that "Show Password"
82eb7d
menu item.
82eb7d
---
82eb7d
 schemas/org.gnome.desktop.lockdown.gschema.xml.in | 7 +++++++
82eb7d
 1 file changed, 7 insertions(+)
82eb7d
82eb7d
diff --git a/schemas/org.gnome.desktop.lockdown.gschema.xml.in b/schemas/org.gnome.desktop.lockdown.gschema.xml.in
82eb7d
index 0150b32..b8020d1 100644
82eb7d
--- a/schemas/org.gnome.desktop.lockdown.gschema.xml.in
82eb7d
+++ b/schemas/org.gnome.desktop.lockdown.gschema.xml.in
82eb7d
@@ -44,32 +44,39 @@
82eb7d
     </key>
82eb7d
     <key name="disable-lock-screen" type="b">
82eb7d
       <default>false</default>
82eb7d
       <summary>Disable lock screen</summary>
82eb7d
       <description>
82eb7d
         Prevent the user to lock his screen.
82eb7d
       </description>
82eb7d
     </key>
82eb7d
     <key name="disable-application-handlers" type="b">
82eb7d
       <default>false</default>
82eb7d
       <summary>Disable URL and MIME type handlers</summary>
82eb7d
       <description>
82eb7d
         Prevent running any URL or MIME type handler applications.
82eb7d
       </description>
82eb7d
     </key>
82eb7d
     <key name="disable-log-out" type="b">
82eb7d
       <default>false</default>
82eb7d
       <summary>Disable log out</summary>
82eb7d
       <description>
82eb7d
         Prevent the user from logging out.
82eb7d
       </description>
82eb7d
     </key>
82eb7d
     <key name="user-administration-disabled" type="b">
82eb7d
       <default>false</default>
82eb7d
       <summary>Disable user administration</summary>
82eb7d
       <description>
82eb7d
         Stop the user from modifying user accounts. By default, we allow adding
82eb7d
         and removing users, as well as changing other users settings.
82eb7d
       </description>
82eb7d
     </key>
82eb7d
+    <key name="disable-show-password" type="b">
82eb7d
+      <default>false</default>
82eb7d
+      <summary>Disable password showing</summary>
82eb7d
+      <description>
82eb7d
+        Disable the "Show Password" menu item in password entries.
82eb7d
+      </description>
82eb7d
+    </key>
82eb7d
   </schema>
82eb7d
 </schemalist>
82eb7d
-- 
82eb7d
2.21.0
82eb7d