-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This allows non-root users access to the rpm-ostree daemon, which is a pre-requirement for gnome-software rpm-ostree support. Closes: #745 Closes: #825 Approved by: cgwalters
- Loading branch information
1 parent
5803fbc
commit 84f6bcb
Showing
6 changed files
with
292 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
<?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>Project Atomic</vendor> | ||
<vendor_url>https://www.projectatomic.io/</vendor_url> | ||
<icon_name>package-x-generic</icon_name> | ||
|
||
<action id="org.projectatomic.rpmostree1.install-uninstall-packages"> | ||
<description>Install and remove packages</description> | ||
<message>Authentication is required to install and remove software</message> | ||
<icon_name>package-x-generic</icon_name> | ||
<defaults> | ||
<allow_any>auth_admin</allow_any> | ||
<allow_inactive>auth_admin</allow_inactive> | ||
<allow_active>auth_admin_keep</allow_active> | ||
</defaults> | ||
</action> | ||
|
||
<action id="org.projectatomic.rpmostree1.install-local-packages"> | ||
<description>Install local packages</description> | ||
<message>Authentication is required to install software</message> | ||
<icon_name>package-x-generic</icon_name> | ||
<defaults> | ||
<allow_any>auth_admin</allow_any> | ||
<allow_inactive>auth_admin</allow_inactive> | ||
<allow_active>auth_admin_keep</allow_active> | ||
</defaults> | ||
</action> | ||
|
||
<action id="org.projectatomic.rpmostree1.override"> | ||
<description>Override packages</description> | ||
<message>Authentication is required to override base OS software</message> | ||
<icon_name>package-x-generic</icon_name> | ||
<defaults> | ||
<allow_any>auth_admin</allow_any> | ||
<allow_inactive>auth_admin</allow_inactive> | ||
<allow_active>auth_admin_keep</allow_active> | ||
</defaults> | ||
</action> | ||
|
||
<action id="org.projectatomic.rpmostree1.deploy"> | ||
<description>Update base OS</description> | ||
<message>Authentication is required to update software</message> | ||
<icon_name>package-x-generic</icon_name> | ||
<defaults> | ||
<allow_any>auth_admin</allow_any> | ||
<allow_inactive>auth_admin</allow_inactive> | ||
<allow_active>auth_admin_keep</allow_active> | ||
</defaults> | ||
</action> | ||
|
||
<action id="org.projectatomic.rpmostree1.upgrade"> | ||
<description>Update base OS</description> | ||
<message>Authentication is required to update software</message> | ||
<icon_name>package-x-generic</icon_name> | ||
<defaults> | ||
<allow_any>auth_admin</allow_any> | ||
<allow_inactive>auth_admin</allow_inactive> | ||
<allow_active>auth_admin_keep</allow_active> | ||
</defaults> | ||
</action> | ||
|
||
<action id="org.projectatomic.rpmostree1.rebase"> | ||
<description>Switch to a different base OS</description> | ||
<message>Authentication is required to switch to a different base OS</message> | ||
<icon_name>package-x-generic</icon_name> | ||
<defaults> | ||
<allow_any>auth_admin</allow_any> | ||
<allow_inactive>auth_admin</allow_inactive> | ||
<allow_active>auth_admin_keep</allow_active> | ||
</defaults> | ||
</action> | ||
|
||
<action id="org.projectatomic.rpmostree1.rollback"> | ||
<description>Rollback OS updates</description> | ||
<message>Authentication is required to roll back software updates</message> | ||
<icon_name>package-x-generic</icon_name> | ||
<defaults> | ||
<allow_any>auth_admin</allow_any> | ||
<allow_inactive>auth_admin</allow_inactive> | ||
<allow_active>auth_admin_keep</allow_active> | ||
</defaults> | ||
</action> | ||
|
||
<action id="org.projectatomic.rpmostree1.bootconfig"> | ||
<description>Change boot configuration</description> | ||
<message>Authentication is required to change boot configuration</message> | ||
<icon_name>package-x-generic</icon_name> | ||
<defaults> | ||
<allow_any>auth_admin</allow_any> | ||
<allow_inactive>auth_admin</allow_inactive> | ||
<allow_active>auth_admin_keep</allow_active> | ||
</defaults> | ||
</action> | ||
|
||
<action id="org.projectatomic.rpmostree1.cleanup"> | ||
<description>Clear cache</description> | ||
<message>Authentication is required to clear cache / pending data</message> | ||
<icon_name>package-x-generic</icon_name> | ||
<defaults> | ||
<allow_any>auth_admin</allow_any> | ||
<allow_inactive>auth_admin</allow_inactive> | ||
<allow_active>auth_admin_keep</allow_active> | ||
</defaults> | ||
</action> | ||
|
||
<action id="org.projectatomic.rpmostree1.repo-refresh"> | ||
<description>Refresh repository metadata</description> | ||
<message>Authentication is required to check available updates</message> | ||
<icon_name>package-x-generic</icon_name> | ||
<defaults> | ||
<allow_any>auth_admin</allow_any> | ||
<allow_inactive>auth_admin</allow_inactive> | ||
<allow_active>auth_admin_keep</allow_active> | ||
</defaults> | ||
</action> | ||
</policyconfig> |
Oops, something went wrong.