initial commit
This commit is contained in:
10
data/polkit/meson.build
Normal file
10
data/polkit/meson.build
Normal file
@@ -0,0 +1,10 @@
|
||||
if not always_authenticated
|
||||
i18n.merge_file(
|
||||
input: 'org.tuf.manager.policy.in',
|
||||
output: 'org.tuf.manager.policy',
|
||||
po_dir: join_paths(meson.source_root(), 'po'),
|
||||
type: 'xml',
|
||||
install: true,
|
||||
install_dir: join_paths(get_option('datadir'), 'polkit-1', 'actions')
|
||||
)
|
||||
endif
|
17
data/polkit/org.tuf.manager.policy.in
Normal file
17
data/polkit/org.tuf.manager.policy.in
Normal file
@@ -0,0 +1,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.0/policyconfig.dtd">
|
||||
<policyconfig>
|
||||
<vendor>TUF Manager</vendor>
|
||||
<vendor_url>https://git.cromer.cl/cromer/tuf-manager/</vendor_url>
|
||||
<icon_name>package-x-generic</icon_name>
|
||||
<action id="org.tuf.manager.save">
|
||||
<message>Authentication is required</message>
|
||||
<defaults>
|
||||
<allow_any>no</allow_any>
|
||||
<allow_inactive>auth_admin_keep</allow_inactive>
|
||||
<allow_active>auth_admin_keep</allow_active>
|
||||
</defaults>
|
||||
</action>
|
||||
</policyconfig>
|
Reference in New Issue
Block a user