mirror of
https://github.com/GXDE-OS/GXDE.git
synced 2026-06-22 03:46:37 +08:00
修复pkexec规则错误
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
// for each client process using the different action id and for the subject
|
||||
// based on the client process.
|
||||
polkit.addRule(function(action, subject) {
|
||||
if (if ((action.id == "org.freedesktop.udisks2.filesystem-mount-system") &&
|
||||
if ((action.id == "org.freedesktop.udisks2.filesystem-mount-system") &&
|
||||
subject.local &&
|
||||
subject.active &&
|
||||
subject.isInGroup ("sudo")) {
|
||||
|
||||
Reference in New Issue
Block a user