aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/50-org.ayatana.indicator.display.AccountsService.pkla6
-rw-r--r--data/CMakeLists.txt4
2 files changed, 10 insertions, 0 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 ()