deepin-daemon/deepin-daemon-fix-policy-settings.patch
Hillwood Yang 8d738c8a21 Accepting request 697522 from X11:Deepin:Factory
- Update version to 3.27.0
  * chore: auto pull translation files from transifex
  * change(api): dde-authority add method HasCookie
  * feat(dde-authority): fprint transcation give message based on user locale
  * fix(appearance): do not change background after logging in
  * fix: deepin-installer.conf
  * fix(lockservice): panic: send on closed channel
  * fix(authority): user in group nopasswdlogin auth failed

- Rewrite spec with golang-packaging
  * Add disable-gobuild-in-makefile.patch
- Update version to 3.25.2
  * chore: auto pull translation files from transifex
  * chore: update depends for wm
  * feat(appearance): support set kwin window decoration theme
  * fix(greeter-setter): UpdateGreeterQtTheme rename failed
  * chore: update tranlations
  * feat(launcher): process X-Deepin-Vendor field
  * feat(dock): add method RemovePluginSettings
  * feat(dock): add method MergePluginSettings
  * feat(audio): add sync supported
  * feat(lastore): add sync supported
  * feat(appearance): add greeter background for deepin sync
  * feat(network): add sync supported
  * feat(inputdevices): add sync supported
  * feat(screenedge): add sync supported
  * feat(dock): continue to support deepin sync
  * feat(dock): support deepin sync
  * feat(appearance): support deepin sync
  * feat(launcher): support deepin sync

OBS-URL: https://build.opensuse.org/request/show/697522
OBS-URL: https://build.opensuse.org/package/show/X11:Deepin/deepin-daemon?expand=0&rev=4
2019-04-25 01:52:57 +00:00

88 lines
4.1 KiB
Diff

diff -Nur dde-daemon-3.25.2/misc/polkit-action/com.deepin.daemon.accounts.policy.in dde-daemon-3.25.2-new/misc/polkit-action/com.deepin.daemon.accounts.policy.in
--- dde-daemon-3.25.2/misc/polkit-action/com.deepin.daemon.accounts.policy.in 2019-04-10 11:49:27.000000000 +0800
+++ dde-daemon-3.25.2-new/misc/polkit-action/com.deepin.daemon.accounts.policy.in 2019-04-14 20:40:20.450184100 +0800
@@ -10,7 +10,7 @@
<description>Change your own user data</description>
<message>Authentication is required to change your own user data</message>
<defaults>
- <allow_any>no</allow_any>
+ <allow_any>auth_admin</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_self</allow_active>
</defaults>
@@ -20,7 +20,7 @@
<description>Manage user accounts</description>
<message>Authentication is required to change user data</message>
<defaults>
- <allow_any>no</allow_any>
+ <allow_any>auth_admin</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
@@ -30,7 +30,7 @@
<description>Enable Auto Login</description>
<message>Authentication is required to enable auto login</message>
<defaults>
- <allow_any>no</allow_any>
+ <allow_any>auth_admin</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_self</allow_active>
</defaults>
@@ -40,7 +40,7 @@
<description>Disable Auto Login</description>
<message>Authentication is required to disable auto login</message>
<defaults>
- <allow_any>no</allow_any>
+ <allow_any>auth_admin</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_self</allow_active>
</defaults>
@@ -50,7 +50,7 @@
<description>Enable Login without password</description>
<message>Authentication is required to enable login without password</message>
<defaults>
- <allow_any>no</allow_any>
+ <allow_any>auth_admin</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_self</allow_active>
</defaults>
@@ -60,7 +60,7 @@
<description>Disable Login without password</description>
<message>Authentication is required to disable login without password</message>
<defaults>
- <allow_any>no</allow_any>
+ <allow_any>auth_admin</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_self</allow_active>
</defaults>
@@ -70,7 +70,7 @@
<description>Set keyboard layout</description>
<message>Authentication is required to set keyboard layout</message>
<defaults>
- <allow_any>no</allow_any>
+ <allow_any>auth_admin</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_self</allow_active>
</defaults>
diff -Nur dde-daemon-3.25.2/misc/polkit-action/com.deepin.daemon.Grub2.policy.in dde-daemon-3.25.2-new/misc/polkit-action/com.deepin.daemon.Grub2.policy.in
--- dde-daemon-3.25.2/misc/polkit-action/com.deepin.daemon.Grub2.policy.in 2019-04-10 11:49:27.000000000 +0800
+++ dde-daemon-3.25.2-new/misc/polkit-action/com.deepin.daemon.Grub2.policy.in 2019-04-14 20:39:15.084613200 +0800
@@ -10,7 +10,7 @@
<description>Change the grub2 configuration</description>
<message>Authentication is required to change the grub2 configuration</message>
<defaults>
- <allow_any>no</allow_any>
+ <allow_any>auth_admin</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
@@ -20,7 +20,7 @@
<description>Prepare grub2 display resolution detection</description>
<message>Authentication is required to prepare grub2 display resolution detection</message>
<defaults>
- <allow_any>no</allow_any>
+ <allow_any>auth_admin</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>