summaryrefslogtreecommitdiff
path: root/src/polkitbackend/init.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/polkitbackend/init.js')
-rw-r--r--src/polkitbackend/init.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/polkitbackend/init.js b/src/polkitbackend/init.js
index 16862d4..af85d05 100644
--- a/src/polkitbackend/init.js
+++ b/src/polkitbackend/init.js
@@ -81,3 +81,13 @@ polkit._deleteRules = function() {
this._adminRuleFuncs = [];
this._ruleFuncs = [];
};
+
+polkit.Result = {
+ NO : "no",
+ YES : "yes",
+ AUTH_SELF : "auth_self",
+ AUTH_SELF_KEEP : "auth_self_keep",
+ AUTH_ADMIN : "auth_admin",
+ AUTH_ADMIN_KEEP : "auth_admin_keep",
+ NOT_HANDLED : null
+};