filebrowser icon indicating copy to clipboard operation
filebrowser copied to clipboard

Allow `userDefaults` to update settings for existing users with `disableSettings: true`

Open baur opened this issue 2 months ago • 5 comments

Is your feature request related to a problem? Please describe.

Currently, when disableSettings: true is set, there is no way to update settings for existing users — neither by the users themselves nor by an admin.

userDefaults only applies to newly created users.

Users with disableSettings: false can control their own settings, but for managed users (with disableSettings: true), updates are not applied.

Describe the solution you'd like

I’d like userDefaults to control user settings globally (Maybe add a flag like applyToAll: true for managed Users), not only for new users. When I update userDefaults, the changes should automatically apply to all users who have disableSettings: true (updated values should automatically sync for all such users)

baur avatar Oct 21 '25 12:10 baur

Yeah I think you are right this causes a lot of confusion. userDefaults is really more accurately "create users with" settings, it doesn't apply after the fact.

I totally agree there needs to be some global overrides. Perhaps thats exactly what we should call it "globalOverrides", which allow enforcing certain settings for all users.

What do you think about that?

gtsteffaniak avatar Oct 22 '25 00:10 gtsteffaniak

I think it should be enforced only for users with disableSettings: true,
to avoid unexpected behavior for users with disableSettings: false.

baur avatar Oct 22 '25 02:10 baur

or it would be nice if we could set user configurations for any users directly via the UI > User Management and global setting for all users UI and .yml used only for the initial configurations?

baur avatar Oct 24 '25 06:10 baur

#1518 Similar issue! If user created is set to "UserDefault" and they can't edit the setting themselves would be great!

AKSKMY avatar Nov 10 '25 16:11 AKSKMY

Yes definitely, I'll pull this into in progress

gtsteffaniak avatar Nov 27 '25 02:11 gtsteffaniak