Commit 74aa92e3 authored by Stef Walter's avatar Stef Walter

data: Fix desktop-centric polkit policy

Change the polkit policy so accountsservice allows use of the
DBus API by admin users that are not logged in via a monitor+keyboard.
This includes users logged in via ssh or Cockpit.

https://bugs.freedesktop.org/show_bug.cgi?id=78279
parent 9e0036ad
......@@ -11,8 +11,8 @@
<_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_inactive>no</allow_inactive>
<allow_any>auth_self</allow_any>
<allow_inactive>auth_self</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
......@@ -21,8 +21,8 @@
<_description>Manage user accounts</_description>
<_message>Authentication is required to change user data</_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>
......@@ -31,8 +31,8 @@
<_description>Change the login screen configuration</_description>
<_message>Authentication is required to change the login screen 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>
<annotate key="org.gnome.gconf.defaults.set-mandatory.prefix">/apps/gdm/simple-greeter</annotate>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment