mirror of
https://github.com/GXDE-OS/GXDE.git
synced 2026-06-22 05:36:37 +08:00
修复权限过大的问题
This commit is contained in:
@@ -4,7 +4,8 @@
|
|||||||
// for each client process using the different action id and for the subject
|
// for each client process using the different action id and for the subject
|
||||||
// based on the client process.
|
// based on the client process.
|
||||||
polkit.addRule(function(action, subject) {
|
polkit.addRule(function(action, subject) {
|
||||||
if (subject.local &&
|
if (if ((action.id == "org.freedesktop.udisks2.filesystem-mount-system") &&
|
||||||
|
subject.local &&
|
||||||
subject.active &&
|
subject.active &&
|
||||||
subject.isInGroup ("sudo")) {
|
subject.isInGroup ("sudo")) {
|
||||||
return polkit.Result.YES;
|
return polkit.Result.YES;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
debiandde (15.11~2024.02.25) stable; urgency=medium
|
debiandde (15.11~2024.02.26) stable; urgency=medium
|
||||||
|
|
||||||
* update 15.11
|
* update 15.11
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user