summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2019-08-21 13:41:08 -0400
committerRay Strode <halfline@gmail.com>2021-07-20 20:22:55 +0000
commit7cb02a1c179e163170b58e3cbd94584624d996c0 (patch)
treebc602688b552a23e7b2ce2e347d5bd09cb139990
parent5140acc218d508c477347199a8bd5e4d9bf6e887 (diff)
downloadgsettings-desktop-schemas-7cb02a1c179e163170b58e3cbd94584624d996c0.tar.gz
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.
-rw-r--r--schemas/org.gnome.desktop.lockdown.gschema.xml.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/schemas/org.gnome.desktop.lockdown.gschema.xml.in b/schemas/org.gnome.desktop.lockdown.gschema.xml.in
index d31fb77..e5e408e 100644
--- a/schemas/org.gnome.desktop.lockdown.gschema.xml.in
+++ b/schemas/org.gnome.desktop.lockdown.gschema.xml.in
@@ -79,5 +79,12 @@
devices (i.e. flash disks, mobile phones, cameras).
</description>
</key>
+ <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>