Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[udisks2] Make possible to unlock from another seat. Contributes to J…
…B#42415
- Loading branch information
Showing
10 changed files
with
48 additions
and
16 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
rpm/0001-Disable-libblockdev-mdraid-and-part-support-from-sou.patch
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
4 changes: 2 additions & 2 deletions
4
rpm/0004-Introduce-mount-sd-service-that-is-executed-as-nemo.patch
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
4 changes: 2 additions & 2 deletions
4
rpm/0008-Make-it-possible-to-format-from-another-seat.-Fixes-.patch
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
30 changes: 30 additions & 0 deletions
30
rpm/0009-Make-it-possible-to-unlock-from-another-seat.patch
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,30 @@ | ||
From a1e98f930a3906b6a5725aa5928bd61195d98cce Mon Sep 17 00:00:00 2001 | ||
From: Raine Makelainen <raine.makelainen@jolla.com> | ||
Date: Fri, 3 Aug 2018 09:39:20 +0300 | ||
Subject: [PATCH 9/9] Make it possible to unlock from another seat | ||
|
||
Signed-off-by: Raine Makelainen <raine.makelainen@jolla.com> | ||
--- | ||
data/org.freedesktop.UDisks2.policy.in | 6 +++--- | ||
1 file changed, 3 insertions(+), 3 deletions(-) | ||
|
||
diff --git a/data/org.freedesktop.UDisks2.policy.in b/data/org.freedesktop.UDisks2.policy.in | ||
index fedab426..acc15f48 100644 | ||
--- a/data/org.freedesktop.UDisks2.policy.in | ||
+++ b/data/org.freedesktop.UDisks2.policy.in | ||
@@ -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> | ||
|
||
-- | ||
2.17.1 | ||
|
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