aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/50-org.ayatana.indicator.display.AccountsService.pkla6
-rw-r--r--data/CMakeLists.txt4
-rw-r--r--data/org.ayatana.indicator.display.AccountsService.policy2
3 files changed, 11 insertions, 1 deletions
diff --git a/data/50-org.ayatana.indicator.display.AccountsService.pkla b/data/50-org.ayatana.indicator.display.AccountsService.pkla
new file mode 100644
index 0000000..f607642
--- /dev/null
+++ b/data/50-org.ayatana.indicator.display.AccountsService.pkla
@@ -0,0 +1,6 @@
+[Allow LightDM to set AccountsService fields]
+Identity=unix-user:lightdm
+Action=org.ayatana.indicator.display.AccountsService.ModifyAnyUser
+ResultActive=yes
+ResultInactive=yes
+ResultAny=yes
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 451c9e8..e24a925 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -82,4 +82,8 @@ if (ENABLE_COLOR_TEMP)
install (FILES 50-org.ayatana.indicator.display.AccountsService.rules DESTINATION "${CMAKE_INSTALL_FULL_DATADIR}/polkit-1/rules.d")
+ # 50-org.ayatana.indicator.display.AccountsService.pkla
+
+ install (FILES 50-org.ayatana.indicator.display.AccountsService.pkla DESTINATION "${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/lib/polkit-1/localauthority/10-vendor.d")
+
endif ()
diff --git a/data/org.ayatana.indicator.display.AccountsService.policy b/data/org.ayatana.indicator.display.AccountsService.policy
index a2bff7a..5a3c99a 100644
--- a/data/org.ayatana.indicator.display.AccountsService.policy
+++ b/data/org.ayatana.indicator.display.AccountsService.policy
@@ -2,7 +2,7 @@
<policyconfig>
<action id="org.ayatana.indicator.display.AccountsService.ModifyOwnUser">
<description>Set properties of own user</description>
- <message>Authentication is required to set one's own indicator display properties.</message>
+ <message>Authentication is not required to set one's own indicator display properties.</message>
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>yes</allow_inactive>