Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
testing:hw
:
motorola
:
moto_msm8960_jbbl
:
4.4.0.68
>
udisks2
> _service:tar_git:0003-Loosen-up-polkit-policies-to-work-from-another-seat.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:0003-Loosen-up-polkit-policies-to-work-from-another-seat.patch of Package udisks2
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Raine Makelainen <raine.makelainen@jolla.com> Date: Tue, 6 Feb 2018 14:01:16 +0200 Subject: [PATCH] Loosen up polkit policies to work from another seat Signed-off-by: Raine Makelainen <raine.makelainen@jolla.com> --- data/org.freedesktop.UDisks2.policy.in | 36 +++++++++++++------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/data/org.freedesktop.UDisks2.policy.in b/data/org.freedesktop.UDisks2.policy.in index 4b02f46f..b79d22b3 100644 --- a/data/org.freedesktop.UDisks2.policy.in +++ b/data/org.freedesktop.UDisks2.policy.in @@ -16,8 +16,8 @@ <description>Mount a filesystem</description> <message>Authentication is required to mount the filesystem</message> <defaults> - <allow_any>auth_admin</allow_any> - <allow_inactive>auth_admin</allow_inactive> + <allow_any>yes</allow_any> + <allow_inactive>yes</allow_inactive> <allow_active>yes</allow_active> </defaults> </action> @@ -29,7 +29,7 @@ <defaults> <allow_any>auth_admin</allow_any> <allow_inactive>auth_admin</allow_inactive> - <allow_active>auth_admin_keep</allow_active> + <allow_active>auth_self_keep</allow_active> </defaults> </action> @@ -38,9 +38,9 @@ <description>Mount a filesystem from a device plugged into another seat</description> <message>Authentication is required to mount the filesystem</message> <defaults> - <allow_any>auth_admin</allow_any> - <allow_inactive>auth_admin</allow_inactive> - <allow_active>auth_admin_keep</allow_active> + <allow_any>yes</allow_any> + <allow_inactive>yes</allow_inactive> + <allow_active>yes</allow_active> </defaults> </action> @@ -63,9 +63,9 @@ <description>Unmount a device mounted by another user</description> <message>Authentication is required to unmount a filesystem mounted by another user</message> <defaults> - <allow_any>auth_admin</allow_any> - <allow_inactive>auth_admin</allow_inactive> - <allow_active>auth_admin_keep</allow_active> + <allow_any>yes</allow_any> + <allow_inactive>yes</allow_inactive> + <allow_active>yes</allow_active> </defaults> </action> @@ -102,7 +102,7 @@ <defaults> <allow_any>auth_admin</allow_any> <allow_inactive>auth_admin</allow_inactive> - <allow_active>auth_admin_keep</allow_active> + <allow_active>auth_self_keep</allow_active> </defaults> </action> @@ -111,9 +111,9 @@ <description>Unlock an encrypted device plugged into another seat</description> <message>Authentication is required to unlock an encrypted device</message> <defaults> - <allow_any>auth_admin</allow_any> - <allow_inactive>auth_admin</allow_inactive> - <allow_active>auth_admin_keep</allow_active> + <allow_any>auth_self</allow_any> + <allow_inactive>auth_self</allow_inactive> + <allow_active>auth_self_keep</allow_active> </defaults> </action> @@ -319,7 +319,7 @@ <defaults> <allow_any>auth_admin</allow_any> <allow_inactive>auth_admin</allow_inactive> - <allow_active>auth_admin_keep</allow_active> + <allow_active>auth_self_keep</allow_active> </defaults> </action> @@ -328,9 +328,9 @@ <description>Modify a device</description> <message>Authentication is required to modify a device plugged into another seat</message> <defaults> - <allow_any>auth_admin</allow_any> - <allow_inactive>auth_admin</allow_inactive> - <allow_active>auth_admin_keep</allow_active> + <allow_any>auth_self</allow_any> + <allow_inactive>auth_self</allow_inactive> + <allow_active>auth_self_keep</allow_active> </defaults> </action> @@ -384,7 +384,7 @@ <defaults> <allow_any>auth_admin</allow_any> <allow_inactive>auth_admin</allow_inactive> - <allow_active>auth_admin</allow_active> + <allow_active>auth_self</allow_active> </defaults> </action> -- 2.33.1