big rewrite with a dbus service, not finished atm
This commit is contained in:
26
data/polkit/org.manjaro.pamac.policy
Normal file
26
data/polkit/org.manjaro.pamac.policy
Normal file
@@ -0,0 +1,26 @@
|
||||
<?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.0/policyconfig.dtd">
|
||||
<policyconfig>
|
||||
<vendor>Manjaro</vendor>
|
||||
<icon_name>pamac</icon_name>
|
||||
<action id="org.manjaro.pamac.commit">
|
||||
<message>Authentication is required to change alpm database</message>
|
||||
<message xml:lang="fr">L'authentification est nécessaire pour changer la base de données alpm</message>
|
||||
<defaults>
|
||||
<allow_any>no</allow_any>
|
||||
<allow_inactive>no</allow_inactive>
|
||||
<allow_active>auth_admin_keep</allow_active>
|
||||
</defaults>
|
||||
</action>
|
||||
|
||||
<action id="org.manjaro.pamac.init_release">
|
||||
<defaults>
|
||||
<allow_any>no</allow_any>
|
||||
<allow_inactive>no</allow_inactive>
|
||||
<allow_active>yes</allow_active>
|
||||
</defaults>
|
||||
</action>
|
||||
|
||||
</policyconfig>
|
Reference in New Issue
Block a user