Scope polkit actions to require the privileged group

This commit is contained in:
Kira Bruneau
2022-07-27 19:32:18 -04:00
committed by afayaz-feral
parent 898ab01924
commit 337f1b8a8e
4 changed files with 32 additions and 10 deletions

View File

@@ -18,7 +18,7 @@
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
<allow_active>no</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">@LIBEXECDIR@/cpugovctl</annotate>
</action>
@@ -29,7 +29,7 @@
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
<allow_active>no</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">@LIBEXECDIR@/gpuclockctl</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>