tighten down some polkit rules
This commit is contained in:
parent
d5680db6ee
commit
863c9b4e65
2 changed files with 1 additions and 35 deletions
2
PKGBUILD
2
PKGBUILD
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: Librewish <librewish@gmail.com>
|
||||
|
||||
pkgname=garuda-common-settings
|
||||
pkgver=2.4.2
|
||||
pkgver=2.4.3
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"
|
||||
|
|
|
@ -52,15 +52,6 @@ polkit.addRule(function(action, subject) {
|
|||
}
|
||||
});
|
||||
|
||||
polkit.addRule(function(action, subject) {
|
||||
if ((action.id == "org.archlinux.pkexec.gparted" ||
|
||||
action.id == "org.kde.kpmcore.externalcommand.init") &&
|
||||
subject.isInGroup("wheel"))
|
||||
{
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
||||
|
||||
polkit.addRule(function(action, subject) {
|
||||
if ((action.id == "org.opensuse.cupspkhelper.mechanism.all-edit") &&
|
||||
subject.isInGroup("wheel"))
|
||||
|
@ -69,14 +60,6 @@ polkit.addRule(function(action, subject) {
|
|||
}
|
||||
});
|
||||
|
||||
polkit.addRule(function(action, subject) {
|
||||
if ((action.id == "org.libvirt.unix.manage") &&
|
||||
subject.isInGroup("wheel"))
|
||||
{
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
polkit.addRule(function(action, subject) {
|
||||
if ((action.id == "org.corectrl.helper.init" ||
|
||||
|
@ -86,20 +69,3 @@ polkit.addRule(function(action, subject) {
|
|||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
||||
|
||||
polkit.addRule(function(action, subject) {
|
||||
if ((action.id == "in.teejeetech.pkexec.timeshift-gtk" ||
|
||||
action.id == "in.teejeetech.pkexec.timeshift") &&
|
||||
subject.isInGroup("wheel"))
|
||||
{
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
||||
|
||||
polkit.addRule(function(action, subject) {
|
||||
if ((action.id == "org.garuda.btfrs-assistant.pkexec.policy.run") &&
|
||||
subject.isInGroup("wheel"))
|
||||
{
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue