mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 02:08:57 +00:00
Add OS auth to local backup key viewer
This commit is contained in:
15
build/org.signalapp.enable-backups.policy
Normal file
15
build/org.signalapp.enable-backups.policy
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD polkit Policy Configuration 1.0//EN" "http://www.freedesktop.org/software/polkit/policyconfig-1.dtd">
|
||||
<policyconfig>
|
||||
<vendor>Signal Desktop</vendor>
|
||||
<vendor_url>https://signal.org/</vendor_url>
|
||||
<action id="org.signalapp.enable-backups">
|
||||
<description>Enable backups</description>
|
||||
<message>Authentication is required to enable backups.</message>
|
||||
<defaults>
|
||||
<allow_any>auth_admin</allow_any>
|
||||
<allow_inactive>auth_admin</allow_inactive>
|
||||
<allow_active>auth_admin</allow_active>
|
||||
</defaults>
|
||||
</action>
|
||||
</policyconfig>
|
||||
15
build/org.signalapp.view-aep.policy
Normal file
15
build/org.signalapp.view-aep.policy
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD polkit Policy Configuration 1.0//EN" "http://www.freedesktop.org/software/polkit/policyconfig-1.dtd">
|
||||
<policyconfig>
|
||||
<vendor>Signal Desktop</vendor>
|
||||
<vendor_url>https://signal.org/</vendor_url>
|
||||
<action id="org.signalapp.view-aep">
|
||||
<description>View backup key</description>
|
||||
<message>Authentication is required to view your backup key.</message>
|
||||
<defaults>
|
||||
<allow_any>auth_admin</allow_any>
|
||||
<allow_inactive>auth_admin</allow_inactive>
|
||||
<allow_active>auth_admin</allow_active>
|
||||
</defaults>
|
||||
</action>
|
||||
</policyconfig>
|
||||
Reference in New Issue
Block a user