Skip to content

fix(CalDAV): check birthday calendar owner - #40292

Merged
miaulalala merged 1 commit into
masterfrom
fix/birthday-calendar
Sep 6, 2023
Merged

fix(CalDAV): check birthday calendar owner#40292
miaulalala merged 1 commit into
masterfrom
fix/birthday-calendar

Conversation

@miaulalala

@miaulalalamiaulalala commented Sep 6, 2023

Copy link
Copy Markdown
Contributor

Summary

Add the correct 403 response for the DAV endpoint

Checklist

@miaulalalamiaulalala added bug 3. to review Waiting for reviews labels Sep 6, 2023
@miaulalalamiaulalala self-assigned this Sep 6, 2023
@miaulalala

Copy link
Copy Markdown
ContributorAuthor

/backport to stable27

@miaulalala

Copy link
Copy Markdown
ContributorAuthor

/backport to stable26

@miaulalala

Copy link
Copy Markdown
ContributorAuthor

/backport to stable25

@miaulalala

Copy link
Copy Markdown
ContributorAuthor

/backport to stable24

@miaulalala

Copy link
Copy Markdown
ContributorAuthor

/backport to stable23

$this->server->addPlugin(new \OCA\DAV\CalDAV\BirthdayCalendar\EnablePlugin(
\OC::$server->getConfig(),
\OC::$server->query(BirthdayService::class)
\OC::$server->query(BirthdayService::class),

Check notice

Code scanning / Psalm

DeprecatedMethod

The method OC\ServerContainer::query has been marked as deprecated
@miaulalala

Copy link
Copy Markdown
ContributorAuthor

/backport to stable22

@miaulalala

This comment was marked as resolved.

@tcitworldtcitworld left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, but shouldn't the CalendarHome's owner be the only one to be able to POST on it anyway?

@ChristophWurstChristophWurst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense

@joshtrichardsjoshtrichards added the feature: caldav Related to CalDAV internals label Sep 6, 2023
Signed-off-by: Anna Larch <anna@nextcloud.com>
@backportbot-nextcloud

This comment was marked as resolved.

@backportbot-nextcloud

This comment was marked as resolved.

@backportbot-nextcloud

This comment was marked as resolved.

@backportbot-nextcloud

This comment was marked as resolved.

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

Labels

3. to reviewWaiting for reviewsbugfeature: caldavRelated to CalDAV internals

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

10 participants

@miaulalala@AndyScherzinger@ChristophWurst@tcitworld@Altahrim@bigcat88@provokateurin@github-advanced-security@joshtrichards@skjnldsv