Commit 8c63a1f4 authored by Philip Müller's avatar Philip Müller

[pkg-upd] 2018.8-3

- use wheel group for some rules
parent e9725503
polkit.addRule(function(action, subject) {
if (action.id.indexOf("org.freedesktop.udisks2.") == 0 && subject.isInGroup("storage")) {
if (action.id.indexOf("org.freedesktop.udisks2.") == 0 && subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});
......@@ -20,13 +20,13 @@ polkit.addRule(function(action, subject) {
}
});
/* Allow users of network group to use blueman feature requiring root without authentication */
/* Allow users of wheel group to use blueman feature requiring root without authentication */
polkit.addRule(function(action, subject) {
if ((action.id == "org.blueman.network.setup" ||
action.id == "org.blueman.dhcp.client" ||
action.id == "org.blueman.rfkill.setstate" ||
action.id == "org.blueman.pppd.pppconnect") &&
subject.isInGroup("network")) {
subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});
......@@ -2,14 +2,14 @@
pkgname=manjaro-hotfixes
pkgver=2018.08
pkgrel=2
pkgrel=3
pkgdesc="Manjaro Linux Hotfixes"
arch=("any")
url="https://manjaro.org/"
license=('GPL2')
depends=('systemd' 'dbus')
source=('99-manjaro.rules' 'org.freedesktop.NetworkManager.Manjaro.conf')
sha256sums=('e2e0b74ea78025d93b83801a05658ae8deab1fb013ff2862f0e02748d0cb61af'
sha256sums=('176be346a79d04e3ac19d786303d806b7606adbbfaf55b54b04b616a6f7a4c56'
'd3bda2f77205742445580c6dab2490744a4b779daef149c9ac15726cdf211e11')
package() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment