blob: e37f0ddde411178e98d2f77afb646f7a5a6332cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?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>
<icon_name>${PROJECT_NAME}-gui</icon_name>
<action id="org.${PROJECT_NAME}.access-device">
<description>Device access</description>
<message>Authentication is required to access the USB device</message>
<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">${CMAKE_INSTALL_FULL_BINDIR}/${PROJECT_NAME}</annotate>
</action>
</policyconfig>
|