fix polkit rules
This commit is contained in:
parent
6bed3b3c3f
commit
19bb57c776
1 changed files with 10 additions and 10 deletions
|
@ -16,7 +16,7 @@ polkit.addRule(function(action, subject) {
|
|||
polkit.addRule(function(action, subject) {
|
||||
if ((action.id == "org.freedesktop.udisks2.filesystem-mount-system" ||
|
||||
action.id == "org.freedesktop.udisks2.filesystem-mount" ||
|
||||
action id == "org.freedesktop.udisks2.filesystem-mount-other-seat" ||
|
||||
action.id == "org.freedesktop.udisks2.filesystem-mount-other-seat" ||
|
||||
action.id == "org.freedesktop.udisks.filesystem-fstab") &&
|
||||
subject.isInGroup("wheel"))
|
||||
{
|
||||
|
@ -61,7 +61,7 @@ polkit.addRule(function(action, subject) {
|
|||
|
||||
polkit.addRule(function(action, subject) {
|
||||
if ((action.id == "org.archlinux.pkexec.gparted" ||
|
||||
action id == "org.kde.kpmcore.externalcommand.init") &&
|
||||
action.id == "org.kde.kpmcore.externalcommand.init") &&
|
||||
subject.isInGroup("wheel"))
|
||||
{
|
||||
return polkit.Result.YES;
|
||||
|
|
Loading…
Reference in a new issue