summaryrefslogtreecommitdiff
path: root/sysui
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-06-29 13:43:37 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-06-29 15:39:31 +0200
commitd1739c8c735bcf890167c63b5559f2610e5a017a (patch)
treed370cb886119f86c1bada9fef5c7013a2f7d7792 /sysui
parentc33ba7c52a031e8e0f1510d32ed4c33954fe5a39 (diff)
tdf#126961 fix access to the macOS address book
Having the personal-information.addressbook entitlement is not enough. Without the plist key NSContactsUsageDescription, macOS will not ask the user to grant access and the request is implicitly denied without any feedback/logging. Change-Id: I954fa86b35a128f08e5c498191bc0949e0edeebf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136619 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'sysui')
-rw-r--r--sysui/desktop/macosx/Info.plist.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysui/desktop/macosx/Info.plist.in b/sysui/desktop/macosx/Info.plist.in
index e50d7a20c4dd..6593139019fc 100644
--- a/sysui/desktop/macosx/Info.plist.in
+++ b/sysui/desktop/macosx/Info.plist.in
@@ -1959,6 +1959,8 @@
<string>@MACOSX_DEPLOYMENT_TARGET@.0</string>
<key>NSHighResolutionCapable</key>
<true/>
+ <key>NSContactsUsageDescription</key>
+ <string>You can add your contacts as a data source for mail merge or similar operations.</string>
</dict>
</plist>
<!-- vim:set shiftwidth=4 softtabstop=4 expandtab: -->