-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
feat(dav): expose system address book #37734
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Psalm found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this locally (without federation). I'm impressed! It works quite good.
However, the contacts in the system address book are not indicated to be read-only. The fields can't actually be edited though because saving fails. Could this be a problem with the ACLS of the system address book?
That's a good question. Can you tell me which acls get sent to the frontend? Maybe that needs a fix somewhere - the acls are set to read only in \OCA\DAV\CardDAV\AddressBook::getACL but could be that the data is lost along the way. |
From @ChristophWurst for how we handle the share enumeration:
|
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
44bf18a
to
b8f770b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works
1c1384e
to
8e8132f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just tested with davx5 and it works (again)
Testet with contacts app:
|
Signed-off-by: Anna Larch <[email protected]>
d447caf
to
5c2eb73
Compare
Integration test failure is the ususal contact menu |
Cannot get help in forums, cannot get any answer here. Not sure it's worth spending any more time with this. |
Summary
Expose the system address book
How to test
Enable share enumeration in the backend
to see all users.
In the contacts app, the users will have the address book "system":
Disable it to see the logged in user only:
You can also check the DAV url /remote.php/dav/addressbooks/users/ to see the new system address book:
To Do
Checklist