6 lines
159 B
Plaintext
6 lines
159 B
Plaintext
polkit.addRule(function(action, subject){
|
|
if (action.id == "org.freedesktop.udisks2.filesystem-mount"){
|
|
return polkit.Result.AUTH_ADMIN;
|
|
}
|
|
});
|