The Problem:
Currently, we have a user1 who updates all contact information for all users, and prints/emails out a spreadsheet report, to all staff of the updated contacts list/report.
The solution, Nextcloud (contacts) ?:
The use case we are trying to achieve here is âone-way syncâ (read-only) with Nextcloud contacts.
Where a list of contacts is imported/updated/maintained to an âaddressbook1â and gets pushed to all endpoints accessing the CardDAV account and prevents endpoints from creating contacts back into the âaddressbook1â.
Progress:
user1, logs in creates addressbook1.
user1, imports contacts into [created] addressbook1.
On endpoints/mobile devices (iPhone):
Settings > Contacts > Accounts > Add Account > Other > Add CardDAV account.
Access to addressbook1 and contacts is present, changes made on âaddressbook1â from Nextcloud GUI are pushed to all endpoints accessing the CardDAV account, but clients can edit/create contacts to back into the address book.
Nextcloud gods, send help!
UPDATE 3/14/23
one-way sync resolved.
-user1, creates and shares âaddresbook1â w/out edit permissions to âuser2â
-user2 is added to all endpoints as a CardDAV account.
The best way to achive this functionality is, that one person owns the âto be sharedâ address book and that this person shares the address book without edit-rights with other users. Iâm using this mechanism for years now and it works as expected.
Open Contacts app â select contact setting in the lower left corner â click on the share symbol behind the desired address book â share the address book but donât tick the âallow editingâ box.
Another suggestion I came across that did not qualify as a âone-way syncâ for us was to set the quota for âuser1â to â0 Bâ. Setting the âuser1â quota to â0 Bâ allowed edits.
Thank you, your suggestion works as intended and allows for âone-way syncâ hope this helps anyone looking to achieve the same thing.
Might have missed something. But turns out this is no longer working for some reason.
so to recap.
-we have user1 sharing the address book to user2 (with no edit-rights).
-on the end clients/phones, we added the user2 account to push the address book to all staff, and yes, from the end clients/phones staff is not able to edits the existing contacts.
but we are noticing, end clients/phones when creating a NEW contact, from the end clients/phones, gets added to a different address book âcontactsâ within the shared address book account. Which then gets pushed (2way sync) back to all users with access to the account/shared address book defeating the one-way sync.
Not sure how is this even happening, as for they only have access to the account that does not have the edit rights.
is there a way to prevent new contacts created on end clients/phones not to be added to the shared account/address book?