aboutsummaryrefslogtreecommitdiff
path: root/data/50-org.ayatana.indicator.keyboard.AccountsService.rules
blob: 80c850e7bc890ae53163bdb2322ea8923e5fb793 (plain)
1
2
3
4
5
6
7
// Allow LightDM to set AccountsService fields
polkit.addRule (function (action, subject) {
    if (action.id == "org.ayatana.indicator.keyboard.AccountsService.ModifyAnyUser" && subject.user == "lightdm")
    {
        return polkit.Result.YES;
    }
});