-
Notifications
You must be signed in to change notification settings - Fork 2.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
Add customgroup sharing for contacts app #33712
Conversation
@PVince81 Is this the right way of using the 'sharing' scope for customgroup sharing? |
Codecov Report
@@ Coverage Diff @@
## master #33712 +/- ##
=========================================
Coverage 64.35% 64.35%
Complexity 18309 18309
=========================================
Files 1195 1195
Lines 69255 69255
Branches 1276 1276
=========================================
Hits 44566 44566
Misses 24317 24317
Partials 372 372
Continue to review full report at Codecov.
|
@@ -145,7 +146,7 @@ public function getGroupMembership($principal, $needGroups = false) { | |||
} | |||
|
|||
if ($this->hasGroups || $needGroups) { | |||
$groups = $this->groupManager->getUserGroups($user); | |||
$groups = $this->groupManager->getUserGroups($user, $scope); |
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.
please query the code base within apps/dav where getGroupMembership is used.
From my poc we should use scope 'sharing' everywhere ....
@Julian1998 Who started this? Is this a PR started in engineering? |
@micbar It's a customer request: https://talk.owncloud.com/channel/calendar-and-contacts?msg=879RrbKC9n8mmTT8p |
09a1f87
to
cbb4bd9
Compare
@DeepDiver1975 please review again! |
Description
Added sharing scope in cardDav backend to enable addressbook sharing with customgroups
How Has This Been Tested?
Types of changes
Checklist:
Open tasks: