aboutsummaryrefslogtreecommitdiffstats
path: root/extras/polkit
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-06-08 20:17:04 +0200
committerAngelo Naselli <anaselli@linux.it>2014-06-08 20:17:04 +0200
commit31f8553aafc05cbf7ba29a4cb84cd58aeebc1e5c (patch)
tree52763c30b5afc4d65a36c76e28a82d5462f481f4 /extras/polkit
parent6ad6ab88f585ee78470e90c4b6608fc08004bc57 (diff)
downloadcolin-keep-31f8553aafc05cbf7ba29a4cb84cd58aeebc1e5c.tar
colin-keep-31f8553aafc05cbf7ba29a4cb84cd58aeebc1e5c.tar.gz
colin-keep-31f8553aafc05cbf7ba29a4cb84cd58aeebc1e5c.tar.bz2
colin-keep-31f8553aafc05cbf7ba29a4cb84cd58aeebc1e5c.tar.xz
colin-keep-31f8553aafc05cbf7ba29a4cb84cd58aeebc1e5c.zip
SILENT: more polkit rules
Diffstat (limited to 'extras/polkit')
-rw-r--r--extras/polkit/org.mageia.adminService.policy51
-rw-r--r--extras/polkit/org.mageia.adminUser.policy50
-rw-r--r--extras/polkit/org.mageia.hostmanager.policy21
3 files changed, 122 insertions, 0 deletions
diff --git a/extras/polkit/org.mageia.adminService.policy b/extras/polkit/org.mageia.adminService.policy
new file mode 100644
index 0000000..a34f3b9
--- /dev/null
+++ b/extras/polkit/org.mageia.adminService.policy
@@ -0,0 +1,51 @@
+<?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>Mageia</vendor>
+ <vendor_url>http://www.mageia.org/</vendor_url>
+
+ <action id="org.mageia.adminService.pkexec.run">
+ <description>Run Mageia Service Configuration</description>
+ <description xml:lang="ca">Executa la configuració dels serveis de Mageia</description>
+ <description xml:lang="el">Εκτέλεση της Διαμόρφωσης Υπηρεσιών Mageia</description>
+ <description xml:lang="es">Configuración de servicios</description>
+ <description xml:lang="et">Mageia teenuste seadistamise käivitamine</description>
+ <description xml:lang="fr">Configurer les services du système Mageia</description>
+ <description xml:lang="id">Jalankan Konfigurasi Layanan Mageia</description>
+ <description xml:lang="nl">Start Mageia's Dienstenconfiguratie</description>
+ <description xml:lang="pl">Konfiguracja Usług</description>
+ <description xml:lang="pt_BR">Execultar Configuração de Serviço Mageia</description>
+ <description xml:lang="ro">Lansează configurarea seviciilor Mageia</description>
+ <description xml:lang="ru">Запуск настройки сервисов</description>
+ <description xml:lang="sl">Zagon nastavitev storitev Mageje</description>
+ <description xml:lang="tr">Mageia Hizmet Yapılandırması Çalıştır</description>
+ <description xml:lang="uk">Запуск засобу налаштовування служб Mageia</description>
+ <description xml:lang="zh_TW">執行 Mageia 服務設定</description>
+ <message>Authentication is required to run Mageia Service Configuration</message>
+ <message xml:lang="el">Απαιτείται πιστοποίηση για την εκτέλεση της Διαμόρφωσης Υπηρεσιών Mageia</message>
+ <message xml:lang="es">Se requiere autenticación para configurar los servicios</message>
+ <message xml:lang="et">Mageia teenuste seadistamine nõuab autentimist</message>
+ <message xml:lang="fr">Une authentification est nécessaire pour configurer les services du système Mageia</message>
+ <message xml:lang="id">Otentikasi diperlukan untuk menjalankan Konfigurasi Layanan Mageia</message>
+ <message xml:lang="nl">Authenticatie is nodig om Mageia's Dienstenconfiguratie te starten</message>
+ <message xml:lang="pl">Konfiguracja Usług - wymagane uwierzytelnianie</message>
+ <message xml:lang="pt_BR">A autenticação é necessária para executar o Configuração de Serviço Mageia</message>
+ <message xml:lang="ro">Autentificare necesară pentru lansarea configurării serviciilor Mageia</message>
+ <message xml:lang="ru">Необходима аутентификация для запуска настройки сервисов</message>
+ <message xml:lang="sl">Za zagon nastavitev storitev Mageje je potrebno overjanje</message>
+ <message xml:lang="tr">Mageia Hizmet Yapılandırması çalıştırmak için kimlik doğrulaması gerekli</message>
+ <message xml:lang="uk">Щоб запустити засіб налаштовування служб Mageia, слід пройти розпізнавання</message>
+ <message xml:lang="zh_TW">執行 Mageia 服務設定需要認證</message>
+ <icon_name>drakconf</icon_name>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>auth_admin_keep</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/adminService</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+</policyconfig>
diff --git a/extras/polkit/org.mageia.adminUser.policy b/extras/polkit/org.mageia.adminUser.policy
new file mode 100644
index 0000000..0d14556
--- /dev/null
+++ b/extras/polkit/org.mageia.adminUser.policy
@@ -0,0 +1,50 @@
+<?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>Mageia</vendor>
+ <vendor_url>http://www.mageia.org/</vendor_url>
+
+ <action id="org.mageia.adminUser.pkexec.run">
+ <description>Run Mageia User Manager</description>
+ <description xml:lang="el">Εκτέλεση του Διαχειριστή Χρηστών Mageia</description>
+ <description xml:lang="es">Ejecutar Administrador de Usuarios de Mageia</description>
+ <description xml:lang="et">Mageia kasutajate halduri käivitamine</description>
+ <description xml:lang="fr">Lancer le gestionnaire des utilisateurs de Mageia</description>
+ <description xml:lang="id">Jalankan Pengelola Pengguna Mageia</description>
+ <description xml:lang="it">Configura gli utenti Mageia</description>
+ <description xml:lang="nl">Start Mageia's Gebruikersbeheer</description>
+ <description xml:lang="pl">Uruchom Menadżer Użytkowników Mageia</description>
+ <description xml:lang="ro">Lansează gestionarul de utilizatori Mageia</description>
+ <description xml:lang="ru">Запуск утилиты управления пользователями</description>
+ <description xml:lang="sl">Zagon Mageia orodja za upravljanje z uporabniki</description>
+ <description xml:lang="tr">Mageia Kullanıcı Yöneticisi' ni Çalıştır</description>
+ <description xml:lang="uk">Запуск засобу керування записами користувачів Mageia</description>
+ <description xml:lang="zh_TW">執行 Mageia 使用者管理工具</description>
+ <message>Authentication is required to run Mageia User Manager</message>
+ <message xml:lang="el">Απαιτείται πιστοποίηση για την εκτέλεση του Διαχειριστή Χρηστών Mageia</message>
+ <message xml:lang="es">Se necesita autenticación para ejecutar el Administrador de Usuarios de Mageia</message>
+ <message xml:lang="et">Mageia kasutajate halduri käivitamine nõuab autentimist</message>
+ <message xml:lang="fr">Une authentification est nécessaire pour lancer le gestionnaire des utilisateurs de Mageia</message>
+ <message xml:lang="id">Otentikasi diperlukan untuk menjalankan Pengelola Pengguna Mageia</message>
+ <message xml:lang="it">È richiesta l'autenticazione per configurare gli utenti Mageia</message>
+ <message xml:lang="nl">Authenticatie is nodig om Mageia's Gebruikersbeheer te starten</message>
+ <message xml:lang="pl">Menadżer Użytkowników Mageia - wymagane uwierzytelnianie</message>
+ <message xml:lang="ro">Autentificare necesară pentru lansarea gestionarului de utilizatori Mageia</message>
+ <message xml:lang="ru">Требуется аутентификация для запуска утилиты управления пользователями</message>
+ <message xml:lang="sl">Za zagon Mageia orodja za upravljanje z uporabniki je zahtevano overjanje</message>
+ <message xml:lang="tr">Mageia Kullanıcı Yöneticisi' ni çalıştırmak için kimlik doğrulama gerekli</message>
+ <message xml:lang="uk">Щоб запустити засіб керування обліковими записами користувачів Mageia, слід пройти розпізнавання</message>
+ <message xml:lang="zh_TW">執行 Mageia 使用者管理工具需要認證</message>
+ <icon_name>drakconf</icon_name>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>auth_admin_keep</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/adminUser</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+</policyconfig>
diff --git a/extras/polkit/org.mageia.hostmanager.policy b/extras/polkit/org.mageia.hostmanager.policy
new file mode 100644
index 0000000..6e23364
--- /dev/null
+++ b/extras/polkit/org.mageia.hostmanager.policy
@@ -0,0 +1,21 @@
+<?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>Mageia.Org</vendor>
+ <vendor_url>http://www.mageia.org</vendor_url>
+
+ <action id="org.mageia.hostmanager.pkexec.run">
+ <description>Allow APanel GUI</description>
+ <message>Authentication is required to run the program hostmanager (user=$(user), program=$(program), command_line=$(command_line))</message>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>auth_admin</allow_inactive>
+ <allow_active>auth_admin</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/hostmanager</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+</policyconfig>