enh(addressbooks): add show/hide option for system and shared addressbooks#3399
enh(addressbooks): add show/hide option for system and shared addressbooks#3399ChristophWurst merged 1 commit intomainfrom
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #3399 +/- ##
==========================================
- Coverage 1.82% 0.00% -1.83%
Complexity 272 272
==========================================
Files 112 25 -87
Lines 6091 826 -5265
Branches 1450 0 -1450
==========================================
- Hits 111 0 -111
+ Misses 5865 826 -5039
+ Partials 115 0 -115
☔ View full report in Codecov by Sentry. |
9aa8d4a to
36e45db
Compare
|
just want to prevent a premature merge. is this PR usable without the change in server? |
|
The show/hide change is just not possible and an error message is shown. |
|
No error is shown for me and it looks like it works fine, thats why i approved. I checked out both branches, server and contacts while testing. Screencast.from.24.05.2023.16.31.27.webm |
|
@GretaD Christoph meant the behaviour without the server PR checked out (because there is still a problem). |
|
How about we fetch the address book ACLs and check for the write or property-write ACL. If it's there, show the button. Then this app can work with Nextcloud 28 but also 27, 26 and 25. |
|
Yes, thats smart, I'll try to implement it. |
36e45db to
6d13ec8
Compare
|
The button is now shown depending on the ACLs. |
…books Signed-off-by: Johannes Merkel <mail@johannesgge.de>
6d13ec8 to
a1e03d1
Compare
|
I think it's fine to have the option to share a hidden address book |

Fix: #479
Fix #2678
Changes:
For testing: