Use `DAV:owner` for "Show only personal"
Purpose
Check whether "Show only personal" can use DAV:owner instead of "belongs to a homeset that belongs to the user".
Check especially with eGroupware. We had found the current solution with the homesets when we tested DAVx5 with eGroupware admin accounts, which would have many entries without such an option.
However at that time DAVx⁵ didn't query the DAV:owner, and now it does.
Short description
-
homeset.personalis nownullby default. - When updating the homeset after refreshing collections, if the owner of the collection (in that case homeset) is the same as the service principal, it means that the collection is personal.
Checklist
- [x] The PR has a proper title, description and label.
- [x] I have self-reviewed the PR.
- [x] I have added documentation to complex functions and functions that can be used by other modules.
- [x] I have added reasonable tests or consciously decided to not add tests.
Setting to "ready to review" because the four checkboxes in the description are checked :)
Purpose
Check whether "Show only personal" can use
DAV:ownerinstead of "belongs to a homeset that belongs to the user".Check especially with eGroupware. We had found the current solution with the homesets when we tested DAVx5 with eGroupware admin accounts, which would have many entries without such an option.
However at that time DAVx⁵ didn't query the
DAV:owner, and now it does.
So, did we check with eGroupware?
Btw, we should update the manual here
I wonder whether we should really hack this into the existing
DavResourceFinder/CollectionListRefresheror whether we should do another refactoring round of service detection before.What do you think @ArnyminerZ @sunkup?
I am not sure what to change then or how to make it easier to understand. I think we can leave most as is for now and add the change.
Okay, it took a while to properly understand everything. But I'm pretty sure that now i it's correct.
The code became so complicated that I can't follow it anymore. So we have to split it first and then we can refactor it / add DAV:owner support.
So I'll close this PR and we should open a new one when #1588 is done.
So I'll close this PR and we should open a new one when #1588 is done.
Right. Probably better. Sorry for my misjudgement.