Resolve Polkit todo, formatting
This commit is contained in:
parent
19ef5c31e5
commit
614b0b5fcd
1 changed files with 1 additions and 1 deletions
|
|
@ -250,12 +250,12 @@
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
polkit.addRule(function (action, subject) {
|
polkit.addRule(function (action, subject) {
|
||||||
if (subject.user == "rei") {
|
if (subject.user == "rei") {
|
||||||
// TODO: Find out what the difference between AUTH_SELF and AUTH_ADMIN is.
|
|
||||||
return polkit.Result.AUTH_SELF;
|
return polkit.Result.AUTH_SELF;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
sudo.extraConfig = ''
|
sudo.extraConfig = ''
|
||||||
Defaults lecture="never"
|
Defaults lecture="never"
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue