Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS address book owner issue #52

Open
tiiiecherle opened this issue Jan 28, 2022 · 3 comments
Open

macOS address book owner issue #52

tiiiecherle opened this issue Jan 28, 2022 · 3 comments
Labels
question A question about Davis and how it works stale This issue or PR hasn't been updated in a while

Comments

@tiiiecherle
Copy link

Hey,

I don't know if this is a davis or a macOS issue.

In macOS it is possible to select a user in the Contacts.app and tell macOS that this contact is me. After that macOS uses the picture of this contact and sets it as login picture for my user and sets it everywhere the user picture is used.

In our current davis setup there is only one davis user that has an address book and on every mac this address book is used the same user is logged in to the carddav account.

Now if one macOS user specifies a contact to be him or her the picture for the macOS user on every mac that uses this address book changes and on every mac this selected user data used for the macOS user.

Is there a way to share an address book with another davis user like for calendars? I thought perhaps having one user that owns the address book and shares it to another user would be better and then login to the carddav account with different users on every mac.

Is our setup the recommended way for sharing an address book? If not what is the recommended way?

I hope I could explain the situation so it can be understood. If not do not hesitate to ask.

Thanks in advance

@tchapi tchapi added the question A question about Davis and how it works label Jan 29, 2022
@tchapi tchapi self-assigned this Jan 29, 2022
@tchapi
Copy link
Owner

tchapi commented Jan 31, 2022

Hi @tiiiecherle

CardDAV does not allow sharing for now, at least not through sabre/dav that Davis uses, so you cannot share an address book.

There is a concept of "global directory" but I have not worked on it since it's macOS-specific and complicated to implement (see https://sabre.io/dav/carddav-directory/)

If you want to give it a try, I'll happily review a PR.
Best regards

@holow29
Copy link

holow29 commented Jan 31, 2022

I'm not sure that the "global directory" concept is the correct way of doing this. I will leave this here as a resource for anyone who wants to investigate further: sabre-io/dav#1014 (OwnCloud implemented sharing based on sabre/dav themselves at one point it seems. NextCloud might have as well.)
Also some info here: sabre-io/Baikal#120

@tiiiecherle
Copy link
Author

Thanks for the information. It would be really nice to see this implemented in davis.

I am sorry I do not have the knowledge and programming skills to help with that. But I can help testing on macOS once there is an implementation.

Thanks a lot.

@tchapi tchapi removed their assignment May 9, 2022
@tchapi tchapi added the stale This issue or PR hasn't been updated in a while label Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question A question about Davis and how it works stale This issue or PR hasn't been updated in a while
Projects
None yet
Development

No branches or pull requests

3 participants