all fixes: wallpaper registration, pkexec cnchi, polkit nopasswd, CI → SourceForge
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// Allow any user in the nopasswdlogin group to run pkexec without a password
|
||||
polkit.addRule(function(action, subject) {
|
||||
if (action.id == "org.freedesktop.policykit.exec" &&
|
||||
subject.isInGroup("nopasswdlogin")) {
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user