diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/50-org.ayatana.AccountsService.Sound.pkla | 13 | ||||
-rw-r--r-- | data/CMakeLists.txt | 30 | ||||
-rw-r--r-- | data/org.ayatana.AccountsService.Sound.policy | 24 | ||||
-rw-r--r-- | data/org.ayatana.AccountsService.Sound.xml | 27 |
4 files changed, 0 insertions, 94 deletions
diff --git a/data/50-org.ayatana.AccountsService.Sound.pkla b/data/50-org.ayatana.AccountsService.Sound.pkla deleted file mode 100644 index ac58f75..0000000 --- a/data/50-org.ayatana.AccountsService.Sound.pkla +++ /dev/null @@ -1,13 +0,0 @@ -[Allow greeter to set fields] -Identity=unix-user:lightdm -Action=org.ayatana.AccountsService.GreeterChangeAny -ResultAny=no -ResultInactive=yes -ResultActive=yes - -[Allow greeter to read fields] -Identity=unix-user:lightdm -Action=org.ayatana.AccountsService.GreeterReadAny -ResultAny=yes -ResultInactive=yes -ResultActive=yes diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index f2873d9..ee9d97f 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -93,33 +93,3 @@ DESTINATION "${POLKIT_DATA_DIR}/actions" install(FILES 50-org.ayatana.indicator.sound.AccountsService.pkla DESTINATION "${POLKIT_LIB_DIR}/localauthority/10-vendor.d" ) - -####################################### -# Accounts Service Iface: Greeter Sound -####################################### - -if(EXISTS "/usr/share/accountsservice/interfaces/com.lomiri.AccountsService.Sound.xml") - - # Nothing to do here... - # Using files from Lomiri specific package 'lomiri-schemas'. - -else() - - install(FILES org.ayatana.AccountsService.Sound.xml - DESTINATION "${DBUS_IFACE_DIR}" - ) - - # Create accountsservice symlink for above dbus interface - install(CODE " - execute_process(COMMAND mkdir -p \"\$ENV{DESTDIR}${ACCOUNTS_IFACE_DIR}\") - execute_process(COMMAND ln -sf ../../dbus-1/interfaces/org.ayatana.AccountsService.Sound.xml \"\$ENV{DESTDIR}${ACCOUNTS_IFACE_DIR}\") - ") - - install(FILES org.ayatana.AccountsService.Sound.policy - DESTINATION "${POLKIT_DATA_DIR}/actions" - ) - - install(FILES 50-org.ayatana.AccountsService.Sound.pkla - DESTINATION "${POLKIT_LIB_DIR}/localauthority/10-vendor.d" - ) -endif() diff --git a/data/org.ayatana.AccountsService.Sound.policy b/data/org.ayatana.AccountsService.Sound.policy deleted file mode 100644 index 7140498..0000000 --- a/data/org.ayatana.AccountsService.Sound.policy +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<policyconfig> - <!-- Same as org.freedesktop.accounts.user-administration, but we override - settings for the lightdm user in a pkla file. --> - <action id="org.ayatana.AccountsService.GreeterChangeAny"> - <defaults> - <allow_any>no</allow_any> - <allow_inactive>no</allow_inactive> - <allow_active>auth_admin_keep</allow_active> - </defaults> - </action> - - <!-- Normally anyone can read these, but for a little bit extra lock down, - disallow all access, but we'll let the lightdm user read them via the - pkla override. --> - <action id="org.ayatana.AccountsService.GreeterReadAny"> - <defaults> - <allow_any>no</allow_any> - <allow_inactive>no</allow_inactive> - <allow_active>no</allow_active> - </defaults> - </action> -</policyconfig> diff --git a/data/org.ayatana.AccountsService.Sound.xml b/data/org.ayatana.AccountsService.Sound.xml deleted file mode 100644 index bfbdd09..0000000 --- a/data/org.ayatana.AccountsService.Sound.xml +++ /dev/null @@ -1,27 +0,0 @@ -<node> - <interface name="org.ayatana.AccountsService.Sound"> - - <annotation name="org.freedesktop.Accounts.VendorExtension" value="true"/> - - <annotation name="org.freedesktop.Accounts.Authentication.ChangeAny" - value="org.ayatana.AccountsService.GreeterChangeAny"/> - - <annotation name="org.freedesktop.Accounts.Authentication.ReadAny" - value="org.ayatana.AccountsService.GreeterReadAny"/> - - <property name="Volume" type="d" access="readwrite"> - <annotation name="org.freedesktop.Accounts.DefaultValue" value="-1.0"/> - </property> - - <!-- Muted is all sound, SilentMode is only non-user-initiated sounds --> - <property name="Muted" type="b" access="readwrite"> - <annotation name="org.freedesktop.Accounts.DefaultValue" value="false"/> - </property> - - <property name="LastRunningPlayer" type="s" access="readwrite"> - <annotation name="org.freedesktop.Accounts.DefaultValue.String" - value=""/> - </property> - - </interface> -</node> |