deepin-daemon/deepin-daemon-fix-wrong-policy-settings.patch
Hillwood Yang eff4241592 Accepting request 547694 from X11:Deepin:Factory
- Update to 3.2.7
  * gesture: check keyboard grab status before do action
  * mime: add multi default app id
  * audio: select best port if config non-exist
  * plymouth: support ssd theme checker
  * dock: fix index in signal EntryAdded is wrong
  * add flatpak to recommends
  * audio: remove style in font config
  * network: fix wireless disconnect when delete inactive hotspot
  * logined: update 'UserList' when session removed
  * network: remove autoconnect from wireless hotspot
  * appearance: fix fonts memory used large when loading
  * audio: add switcher to decide whether auto switch port
  * add com.deepin.daemon.ImageBlur interface
  * not show newly installed wechat in launcher
  * failed to set some bmp image file as icon
  * the Accels field of two shortcuts is empty
  * make `install_to_hicolor.py` compatibility with older python3
  * automatic switch port when card changed
  * add shortcut for deepin-system-monitor and color-picker
  * support deepin qt theme settings
  * add touchpad tap gesture
  * add flatpak app window identify method
  * fix gccgo compile failed
  * fix syndaemon pid file not created
  * fix wireless not work after multiple toggle hotspot
  * fix active connections not updated when deleted the last connection
  * update font config xml version
  * refactor grub theme dbus interface
  * rename 'Logout' shortcut to 'Shutdown Interface'

OBS-URL: https://build.opensuse.org/request/show/547694
OBS-URL: https://build.opensuse.org/package/show/X11:Deepin/deepin-daemon?expand=0&rev=2
2017-12-03 11:13:12 +00:00

51 lines
2.5 KiB
Diff

diff -Nur dde-daemon-3.2.7/misc/polkit-action/com.deepin.daemon.accounts.policy dde-daemon-3.2.7-new/misc/polkit-action/com.deepin.daemon.accounts.policy
--- dde-daemon-3.2.7/misc/polkit-action/com.deepin.daemon.accounts.policy 2017-11-28 11:31:45.000000000 +0800
+++ dde-daemon-3.2.7-new/misc/polkit-action/com.deepin.daemon.accounts.policy 2017-11-29 15:57:49.641270102 +0800
@@ -70,8 +70,8 @@
<message xml:lang="zh_CN">修改您的用户数据:需要授权</message>
<message xml:lang="zh_TW">若要變更您自身的使用者資料需要通過認證</message>
<defaults>
- <allow_any>no</allow_any>
- <allow_inactive>no</allow_inactive>
+ <allow_any>auth_admin</allow_any>
+ <allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_self</allow_active>
</defaults>
</action>
@@ -140,8 +140,8 @@
<message xml:lang="zh_CN">修改用户数据:需要授权</message>
<message xml:lang="zh_TW">若要變更使用者資料需要通過認證</message>
<defaults>
- <allow_any>no</allow_any>
- <allow_inactive>no</allow_inactive>
+ <allow_any>auth_admin</allow_any>
+ <allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
</action>
@@ -210,8 +210,8 @@
<message xml:lang="zh_CN">修改登录窗口配置:需要授权</message>
<message xml:lang="zh_TW">若要變更登入畫面組態需要通過認證</message>
<defaults>
- <allow_any>no</allow_any>
- <allow_inactive>no</allow_inactive>
+ <allow_any>auth_admin</allow_any>
+ <allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
</action>
diff -Nur dde-daemon-3.2.7/misc/polkit-action/com.deepin.daemon.Grub2.policy.in dde-daemon-3.2.7-new/misc/polkit-action/com.deepin.daemon.Grub2.policy.in
--- dde-daemon-3.2.7/misc/polkit-action/com.deepin.daemon.Grub2.policy.in 2017-11-28 11:31:45.000000000 +0800
+++ dde-daemon-3.2.7-new/misc/polkit-action/com.deepin.daemon.Grub2.policy.in 2017-11-29 15:58:19.296468907 +0800
@@ -10,8 +10,8 @@
<description>Change the grub2 configuration</description>
<message>Authentication is required to change the grub2 configuration</message>
<defaults>
- <allow_any>no</allow_any>
- <allow_inactive>no</allow_inactive>
+ <allow_any>auth_admin</allow_any>
+ <allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
</action>