Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[udisks2] Make it possible to format from another seat. Fixes JB#42414
- Loading branch information
Showing
10 changed files
with
85 additions
and
21 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
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
31 changes: 31 additions & 0 deletions
31
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
From 72dce4ff132fd0dc4aa6fda56047c1c91f182e9d Mon Sep 17 00:00:00 2001 | ||
From: Raine Makelainen <raine.makelainen@jolla.com> | ||
Date: Mon, 16 Jul 2018 15:40:23 +0300 | ||
Subject: [PATCH 8/8] Make it possible to format from another seat. Fixes | ||
JB#42414 | ||
|
||
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 7b42f7e0..fedab426 100644 | ||
--- a/data/org.freedesktop.UDisks2.policy.in | ||
+++ b/data/org.freedesktop.UDisks2.policy.in | ||
@@ -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> | ||
|
||
-- | ||
2.17.1 | ||
|
31 changes: 31 additions & 0 deletions
31
rpm/0008-udisks2-Make-it-possible-to-format-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,31 @@ | ||
From ae7391c9d960baa350b0a689c0171f4c9275904a Mon Sep 17 00:00:00 2001 | ||
From: Raine Makelainen <raine.makelainen@jolla.com> | ||
Date: Mon, 16 Jul 2018 15:40:23 +0300 | ||
Subject: [PATCH 8/8] [udisks2] Make it possible to format from another seat. | ||
Contributes to JB#42414 | ||
|
||
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 7b42f7e0..fedab426 100644 | ||
--- a/data/org.freedesktop.UDisks2.policy.in | ||
+++ b/data/org.freedesktop.UDisks2.policy.in | ||
@@ -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> | ||
|
||
-- | ||
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