Enhancement: Add support for wildcards in locks setting paths
Hi i tried to read the code, so if this is already possible i found no documentation about it. Also im not sure how much of this needs to be added to GioSettings
Many application support starting with different profiles, or manage account specific settings.
For both relocateable schemas are used
Examples:
/org/gnome/my-app/profile/my-setting
profile here depends on the profile that the application is started so it cant be determined before the user starts.
or
/org/gnome/my-app/profile/accounts/account/my-setting
here the application allows to add multiple accounts to the application and wants to store settings per account, so profile
and account
can not be determined.
Locks seem to only support full paths right now which makes it impossible to lock down settings at all in these cases.
To make this possible we would need a syntax for the lock file like
/org/gnome/my-app/*/accounts/*/my-setting