18 lines
		
	
	
		
			705 B
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			705 B
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?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>
 |