diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-06-18 11:31:23 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-06-18 11:31:23 +0200 |
commit | 3be0dff9cc8ad6864537563688b97e7d949db979 (patch) | |
tree | 37f3ffdfd90964c845d84d3607ef573af8d576a6 /debian/contrib/org.debian.pkexec.gnunet-setup.policy | |
parent | 5034ca084258d6653b2986b00167c736a9cd93ed (diff) | |
download | gnunet-gtk-3be0dff9cc8ad6864537563688b97e7d949db979.tar.gz gnunet-gtk-3be0dff9cc8ad6864537563688b97e7d949db979.zip |
initial import of Debian package, adjustments to Debian package and minimizing patch
Diffstat (limited to 'debian/contrib/org.debian.pkexec.gnunet-setup.policy')
-rw-r--r-- | debian/contrib/org.debian.pkexec.gnunet-setup.policy | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/contrib/org.debian.pkexec.gnunet-setup.policy b/debian/contrib/org.debian.pkexec.gnunet-setup.policy new file mode 100644 index 00000000..2dfa2881 --- /dev/null +++ b/debian/contrib/org.debian.pkexec.gnunet-setup.policy | |||
@@ -0,0 +1,21 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <!DOCTYPE policyconfig PUBLIC | ||
3 | "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" | ||
4 | "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> | ||
5 | <policyconfig> | ||
6 | |||
7 | <action id="org.debian.pkexec.gnunet-setup.run"> | ||
8 | <description>Run gnunet-setup as user gnunet</description> | ||
9 | <description xml:lang="fr">Lancement de gnunet-setup en tant qu'utilisateur gnunet</description> | ||
10 | <message>Authentication is required to configure GNUnet</message> | ||
11 | <message xml:lang="fr">L'authentification est indispensable pour la configuration de GNUnet</message> | ||
12 | <defaults> | ||
13 | <allow_any>no</allow_any> | ||
14 | <allow_inactive>no</allow_inactive> | ||
15 | <allow_active>auth_admin_keep</allow_active> | ||
16 | </defaults> | ||
17 | <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/gnunet-setup</annotate> | ||
18 | <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> | ||
19 | </action> | ||
20 | |||
21 | </policyconfig> | ||