Bug 356624 - KWalletManager - You are not allowed to save settings
Summary: KWalletManager - You are not allowed to save settings
Status: RESOLVED WORKSFORME
Alias: None
Product: kwalletmanager
Classification: Applications
Component: general (show other bugs)
Version: 2.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Valentin Rusu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-13 20:58 UTC by biholcomb
Modified: 2023-01-03 12:59 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description biholcomb 2015-12-13 20:58:33 UTC
I found  Bug 353785 - kwalletmanager cannot save any settings which was marked resolved - invalid so I filed a new report given that this problem does definitely exist.

Centos 7 x64
QT 4.5
KDE Development Platform: 4.14.9
KDE Daemon: 4.14.9
KWalletManager info in Kwalletrc: [$Version] update_info=kwallet-4.13.upd:kde4.13

I am running as my non-root user and when I open KWalletManger click settings -> configure Wallet and try and change anything such as close when unused there is a message at the top of the Configuration dialog that says "You are not allowed to save the configuration".  This happens with the default or wallets I create myself.  I modified the kwalletrc files settings to allow group (which is same as the owner) to have write access.  Still did not work.

I was able to edit the kwallet.rc file and get the settings changed but I should not have to.

I did searches and this problem goes back quite some time.  For some reason we can not change settings through the GUI.  While I like the concept of KWallet things like this make it hard to use.  I should be able to change my own settings and not need sudo but I understand sudo doesn't work for this either.




Reproducible: Always

Steps to Reproduce:
1. Open KWalletManger and select a wallet
2. Click Settings -> Configure Wallet  There is the message "You are not allowed to save the configuration"
3. Change a setting, say under Close Wallet.  The apply button is no longer grayed out
4.  Click the Apply button.
5.  The apply button grays out but the OK does not become ungrayed. 
If you exit with cancel or the X no changes are made.  When you enter again the values are the same as before the changes were made.

Actual Results:  
The changes did not take effect.

Expected Results:  
For the changes to be applied.

Editing the kwallet.rc file is not acceptable especially since there isn't much documentation on what can be entered in it other than defaults.
Comment 1 devsk 2016-12-15 08:34:48 UTC
1 year later and we are still at the same spot. kwalletmanager5 does not allow me to edit settings. I have no idea why.

Anyone willing to take this on?
Comment 2 devsk 2017-01-08 17:36:39 UTC
Anyone home?
Comment 3 Sven Eden 2017-01-17 10:30:21 UTC
I can confirm that the kwallet kcm module does no longer allow me to save any settings. All relevant files are owned by me.

Gentoo Linux
QT 5.7.1
KDE Frameworks 5.29
KDE Plasma 5.8.5
KDE Apps 16.12.1

Changing the settings by editing ~/.config/kwalletrc by hand does work. But the kcm does not allow any changes.
Comment 4 Alexander Potashev 2021-09-01 16:37:19 UTC
Same problem here on Plasma 5.20.5.

What can I add into kwalletrc to disable KDE Wallet?
Comment 5 Oded Arbel 2023-01-03 12:59:04 UTC
(In reply to Alexander Potashev from comment #4)
> Same problem here on Plasma 5.20.5.

I cannot repro in current Neon unstable (Plasma 5.26.80) - the current KCM updates setting by calling the kwalletd D-Bus interface instead of accessing the configuration file directly (which I *think* is whats happening with the original bug report) and uses a polkit dialog to get permissions to talk with the D-Bus service (not that I understand why it would need authorization to talk with a user owned service) - so your're not supposed to get a "You are not allowed to save the configuration" dialog, especially not before making any changes.

If anyone still has this issue, please verify on a currently supported version and re-open.

> What can I add into kwalletrc to disable KDE Wallet?

To disable kwallet - the same as can be done from the KWallet KCM's "Enable the KDE Wallet system" checkbox - you can edit ~/.config/kwalletrc and under the section "[Wallet]" make sure that "Enabled" is set to "false".