Skip to content

feat: read calendar ACL properly#7951

Draft
SebastianKrupinski wants to merge 1 commit intomainfrom
feat/calendar-federation-readwrite
Draft

feat: read calendar ACL properly#7951
SebastianKrupinski wants to merge 1 commit intomainfrom
feat/calendar-federation-readwrite

Conversation

@SebastianKrupinski
Copy link
Contributor

Summary

  • modified ACL's for calendar federation

Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
@SebastianKrupinski SebastianKrupinski self-assigned this Feb 3, 2026
@SebastianKrupinski SebastianKrupinski added the 2. developing Work in progress label Feb 3, 2026
Comment on lines +95 to +97
const canCreateObject = calendar.currentUserPrivilegeSet.includes('{DAV:}bind') || calendar.currentUserPrivilegeSet.includes('{DAV:}write') || calendar.currentUserPrivilegeSet.includes('{DAV:}all') === true
const canModifyObject = calendar.currentUserPrivilegeSet.includes('{DAV:}write-content') || calendar.currentUserPrivilegeSet.includes('{DAV:}write') || calendar.currentUserPrivilegeSet.includes('{DAV:}all') === true
const canDeleteObject = calendar.currentUserPrivilegeSet.includes('{DAV:}unbind') || calendar.currentUserPrivilegeSet.includes('{DAV:}write') || calendar.currentUserPrivilegeSet.includes('{DAV:}all') === true
Copy link
Member

Choose a reason for hiding this comment

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

Would it be worth it to add these in cdav library instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hello! Yes that makes sense! I will do that, but at the moment this is so we can get a feature out... Then I will modify the dav-library

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

Labels

2. developing Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants