Merge pull request #20825 from nextcloud/fix/sharing-own-group
This commit is contained in:
commit
32e56dee89
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -306,14 +306,16 @@ export default {
|
|||
return arr
|
||||
}
|
||||
try {
|
||||
// filter out current user
|
||||
if (share.value.shareWith === getCurrentUser().uid) {
|
||||
return arr
|
||||
}
|
||||
if (share.value.shareType === this.SHARE_TYPES.SHARE_TYPE_USER) {
|
||||
// filter out current user
|
||||
if (share.value.shareWith === getCurrentUser().uid) {
|
||||
return arr
|
||||
}
|
||||
|
||||
// filter out the owner of the share
|
||||
if (this.reshare && share.value.shareWith === this.reshare.owner) {
|
||||
return arr
|
||||
// filter out the owner of the share
|
||||
if (this.reshare && share.value.shareWith === this.reshare.owner) {
|
||||
return arr
|
||||
}
|
||||
}
|
||||
|
||||
// filter out existing mail shares
|
||||
|
|
Loading…
Reference in New Issue