diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2022-06-29 13:43:37 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2022-07-02 17:08:28 +0200 |
commit | 0627e9c108de978e612b76e3a101b6e5e477aed5 (patch) | |
tree | f6068622988a535988c5c3ce642ac0f9e78e71d8 /sysui | |
parent | 55c8a75caf91357defdf66bb2163297667a5c14b (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>
(cherry picked from commit ccf518a6fd2819e6a328e953d5e7356d8d9bd11f)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136637
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'sysui')
-rw-r--r-- | sysui/desktop/macosx/Info.plist.in | 2 |
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: --> |