diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-10-08 20:46:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-10-08 20:46:30 +0100 |
commit | b181e2a138f692d99348c95ebc4d868b72fad8ad (patch) | |
tree | 7b0e621fa49142242039c1da3c2f196b76aff2c3 /ro.kogaion.sisyphus.policy | |
parent | 7838b9387aef8d719925111b1a672b4a9b7d29f6 (diff) |
add policykit rule
Diffstat (limited to 'ro.kogaion.sisyphus.policy')
-rw-r--r-- | ro.kogaion.sisyphus.policy | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ro.kogaion.sisyphus.policy b/ro.kogaion.sisyphus.policy new file mode 100644 index 0000000..ff225d3 --- /dev/null +++ b/ro.kogaion.sisyphus.policy @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE policyconfig PUBLIC +"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" +"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> +<policyconfig> + + <vendor>Kogaion</vendor> + <vendor_url>http://rogentos.ro</vendor_url> + + <action id="ro.kogaion.sisyphus.pkexec.run"> + <description>Run Sisyphus</description> + <message>Authentication is required to run Sisyphus</message> + <icon_name>drive-harddisk</icon_name> + <defaults> + <allow_any>no</allow_any> + <allow_inactive>no</allow_inactive> + <allow_active>auth_admin</allow_active> + </defaults> + <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/sisyphus</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> +</policyconfig> |