Skip to content

Commit

Permalink
canChangeShare Logging
Browse files Browse the repository at this point in the history
  • Loading branch information
IljaN committed Jul 7, 2023
1 parent b13fbf6 commit 81dd3ef
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apps/files_sharing/lib/Controller/Share20OcsController.php
Expand Up @@ -1134,6 +1134,13 @@ protected function canChangeShare(IShare $share) {
) {
return true;
}

$currentUser = $this->userSession->getUser()->getUID();
$shareId = $share->getId();
$shareOwner = $share->getShareOwner();
$sharedBy = $share->getSharedBy();

\OC::$server->getLogger()->debug("core | ShareID: $shareId ShareOwner: $shareOwner SharedBy: $sharedBy CurrentUser: $currentUser: canChangeShare: false");
return false;
}

Expand Down

0 comments on commit 81dd3ef

Please sign in to comment.