[gsettings-desktop-schemas/wip/disable-show-password] schemas: add new lockdown setting for password showing



commit cd530091ed29400aa3ce7e6b679c5c393bf4dda6
Author: Ray Strode <rstrode redhat com>
Date:   Wed Aug 21 13:41:08 2019 -0400

    schemas: add new lockdown setting for password showing
    
    A convenient feature of many password entries is the
    "Show Password" menu that lets the user see what password
    is hidden behind the bullets they're typing.
    
    While certainly useful, it can also be problematic in some
    deployments, and violate security policies.
    
    This commit adds a new setting to rid users of that "Show Password"
    menu item.

 schemas/org.gnome.desktop.lockdown.gschema.xml.in | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/schemas/org.gnome.desktop.lockdown.gschema.xml.in 
b/schemas/org.gnome.desktop.lockdown.gschema.xml.in
index d31fb77..c49b3ea 100644
--- a/schemas/org.gnome.desktop.lockdown.gschema.xml.in
+++ b/schemas/org.gnome.desktop.lockdown.gschema.xml.in
@@ -78,6 +78,12 @@
         Prevent users from writing or modifying files on removable storage
         devices (i.e. flash disks, mobile phones, cameras).
       </description>
+    <key name="disable-show-password" type="b">
+      <default>false</default>
+      <summary>Disable password showing</summary>
+      <description>
+        Disable the "Show Password" menu item in password entries.
+      </description>
     </key>
   </schema>
 </schemalist>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]