blob: 48c49571b1a5bfbeda7c0537c2a6de940fcdd214 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- */
/* see test/polkitbackend/test-polkitbackendjsauthority.c */
/* NOTE: this is the /usr/share/polkit-1/rules.d version of 10-testing.rules */
polkit.addRule(function(action, subject, details) {
if (action == "net.company.order0") {
details["test_detail"] = "c";
return "yes";
}
});
polkit.addRule(function(action, subject, details) {
if (action == "net.company.order1") {
details["test_detail"] = "b";
return "yes";
}
});
|