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

Shared address book with read-only access #1224

Open
brinza888 opened this issue Dec 6, 2023 · 4 comments
Open

Shared address book with read-only access #1224

brinza888 opened this issue Dec 6, 2023 · 4 comments

Comments

@brinza888
Copy link

brinza888 commented Dec 6, 2023

Problem you are having:
Can't find any straightforward explanation of how to make shared address book. The goal is to have two users:

  • one user, which will be shared within employees, with read-only access to address book.
  • one user with read&write access to manage this address book.

Or any other structure that will behave similar.
Of course I was searching a lot in this repository and in sabre-io/dav. Found only solution for the same issue with calendars, but my goal is firstly to create shared address book.
Since I am running this app in Docker and do not fully understand PHP code I can't dive into complicated configuration. Maybe there is easier way to implement my idea using only database and ACLs?

Thank u in advance! Sorry if I choose issue type wrong.

@Michael-81
Copy link

Michael-81 commented Dec 8, 2023

I am also interested in a solution to the problem. Read/write permissions for some people and read-only permissions for others.

Sharing contacts with others is possible via the database.
Copy or duplicate the line of the respective address book. The "PrincipalURI" - "URI" of the person to be authorized, which is located in the principals table, must now be replaced by the other person.

Unfortunately, I have not yet managed to reset the read and write permissions via the database, possibly by adding columns to a table.

Does anyone have any experience?

@michael-724
Copy link

I'm looking for exactly the same thing. Share contacts with read-only permission for our field staff.

We are currently sending new contacts and updates to every employee via WhatsApp. It's a mess. I hope for a solution with Baikal.

@ulfgebhardt
Copy link

I am also interested in a solution to the problem. Read/write permissions for some people and read-only permissions for others.

Sharing contacts with others is possible via the database. Copy or duplicate the line of the respective address book. The "PrincipalURI" - "URI" of the person to be authorized, which is located in the principals table, must now be replaced by the other person.

Unfortunately, I have not yet managed to reset the read and write permissions via the database, possibly by adding columns to a table.

Does anyone have any experience?

@Michael-81 can you elaborate how you share contacts? I can only get calendar sharing, not contacts.

@ulfgebhardt
Copy link

ulfgebhardt commented Feb 20, 2024

I figured it out.
You can use .../otheruser/bookname as uri in addressbooks to give full read/write access.

Tho I could not manage to actually write to that addressbook successfully - my local contacts always get deleted. Im abandoning this path and use a specific account dedicated to share things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants