diff options
Diffstat (limited to 'data/50-org.ayatana.indicator.sound.AccountsService.rules')
-rw-r--r-- | data/50-org.ayatana.indicator.sound.AccountsService.rules | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/data/50-org.ayatana.indicator.sound.AccountsService.rules b/data/50-org.ayatana.indicator.sound.AccountsService.rules new file mode 100644 index 0000000..426326b --- /dev/null +++ b/data/50-org.ayatana.indicator.sound.AccountsService.rules @@ -0,0 +1,7 @@ +// Allow LightDM to set AccountsService fields +polkit.addRule (function (action, subject) { + if (action.id == "org.ayatana.indicator.sound.AccountsService.ModifyAnyUser" && subject.user == "lightdm") + { + return polkit.Result.YES; + } +}); |