Repository navigation
Fix/propfind sharetype - #3845
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
🟢 Coverage 100.00% diff coverage · +0.01% coverage variation
Metric Results Coverage variation ✅ +0.01% coverage variation (-1.00%) Diff coverage ✅ 100.00% diff coverage Coverage variation details
Coverable lines Covered lines Coverage Common ancestor commit (348ba63) 94306 28339 30.05% Head commit (c0b845b) 94308 (+2) 28351 (+12) 30.06% (+0.01%) Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch:
<coverage of head commit> - <coverage of common ancestor commit>Diff coverage details
Coverable lines Covered lines Diff coverage Pull request (#3845) 2 2 100.00% Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified:
<covered lines added or modified>/<coverable lines added or modified> * 100%
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
21c216a to
a036625
Compare
aduffeck
left a comment
There was a problem hiding this comment.
Something's broken with the reva bump apparently.
| case strconv.Itoa(int(storageprovider.GranteeType_GRANTEE_TYPE_GROUP)): | ||
| types = append(types, "group") | ||
| case strconv.Itoa(int(conversions.ShareTypeGuest)): | ||
| types = append(types, "user") |
There was a problem hiding this comment.
Should we "unique" the types before returning them? Not sure what web does when an item is shared with a user and a guest and gets ["user", "user"] as a result.
There was a problem hiding this comment.
from what I understood web handles guest as user, but I might be wrong, @kulmann can you correct me?
There was a problem hiding this comment.
deduplication would be good and I would expect guest in line 640, not user.
a8f519a to
8e788f1
Compare
aduffeck
left a comment
There was a problem hiding this comment.
needs bumps after the other things have been merged but the change lgtm
8e788f1 to
d14b050
Compare
d14b050 to
d9e53d8
Compare
handle new ShareTypeGuest on GetDriveItem
closes: #3592
related to: opencloud-eu/libre-graph-api#87, opencloud-eu/reva#999