Skip to content

Commit

Permalink
Merge pull request #550 from nextcloud/fix/private-function-called
Browse files Browse the repository at this point in the history
fix(ACL): Make checkPermissions protected.
  • Loading branch information
max-nextcloud authored Feb 10, 2023
2 parents 81f76eb + e0ebf33 commit d66424f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ACL/ACLStorageWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function __construct($arguments) {
*
* @return bool
*/
private function checkPermissions(int $permissions): bool {
protected function checkPermissions(int $permissions): bool {
// if there is no read permissions, then deny everything
if ($this->inShare) {
// Check if owner of the share is actually allowed to share
Expand Down

0 comments on commit d66424f

Please sign in to comment.