修复权限过大的问题

This commit is contained in:
2024-02-25 17:21:17 +08:00
parent 3ffdfd9d0e
commit f19b9124f1
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -4,7 +4,8 @@
// for each client process using the different action id and for the subject
// based on the client process.
polkit.addRule(function(action, subject) {
if (subject.local &&
if (if ((action.id == "org.freedesktop.udisks2.filesystem-mount-system") &&
subject.local &&
subject.active &&
subject.isInGroup ("sudo")) {
return polkit.Result.YES;
+1 -1
View File
@@ -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