broulik created this revision. broulik added a reviewer: Plasma. broulik set the repository for this revision to R242 Plasma Frameworks. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY This introduces a new lineedit_reveal_password restriction (similar to lineedit_text_completion) that disables the reveal password button on Plasma text fields, like the lock screen and WiFi password inputs. TEST PLAN Placed the following in kdeglobals [KDE Action Restrictions] lineedit_reveal_password=false No longer got said button on the lock screen and click area for the textfield also was as if the button was never there. Without aforementioned restriction it behaves like before. As discussed in https://phabricator.kde.org/D3616 Depends on https://git.reviewboard.kde.org/r/129642/ Needs additional patch in plasma-nm. KNewPasswordDialog is in KWidgetsAddons which cannot depend on KConfigCore (where KAuthorized) is and thus we cannot do this there. However, being able to restrict this in the most prominent places should be good enoughâ„¢ REPOSITORY R242 Plasma Frameworks REVISION DETAIL https://phabricator.kde.org/D3654 AFFECTED FILES src/declarativeimports/plasmacomponents/qml/TextField.qml src/declarativeimports/plasmastyle/TextFieldStyle.qml EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: broulik, #plasma Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas