Skip to content

fix(dav): Thrown forbidden error for authenticated user instead of no… - #46225

Merged
AndyScherzinger merged 1 commit into
masterfrom
fix/issue-11633
Jul 19, 2024
Merged

fix(dav): Thrown forbidden error for authenticated user instead of no…#46225
AndyScherzinger merged 1 commit into
masterfrom
fix/issue-11633

Conversation

@SebastianKrupinski

Copy link
Copy Markdown
Contributor

fix(dav): Thrown forbidden error for authenticated user instead of not found

@solracsfsolracsf added the 3. to review Waiting for reviews label Jul 1, 2024
@solracsfsolracsf added this to the Nextcloud 30 milestone Jul 1, 2024
Comment threadapps/dav/lib/Connector/Sabre/DavAclPlugin.php Fixed
Comment threadapps/dav/lib/Connector/Sabre/DavAclPlugin.php Fixed
Comment threadapps/dav/lib/Connector/Sabre/DavAclPlugin.php Fixed
)
);

if ($this->getCurrentUserPrincipal() === $node->getOwner()) {

Check notice

Code scanning / Psalm

PossiblyUndefinedMethod

Method Sabre\DAV\INode::getOwner does not exist
…t found
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
@AndyScherzinger
AndyScherzinger merged commit 2e273e4 into masterJul 19, 2024
@AndyScherzinger
AndyScherzinger deleted the fix/issue-11633 branch July 19, 2024 17:00
@AndyScherzinger

Copy link
Copy Markdown
Member

/backport to stable29

@SebastianKrupinski

Copy link
Copy Markdown
ContributorAuthor

/backport to stable28

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviews

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

CalDAV birthday calendar: modifying birthdays should return 403 instead of 404

8 participants

@SebastianKrupinski@AndyScherzinger@ChristophWurst@st3iny@miaulalala@hamza221@github-advanced-security@solracsf