mirror of
https://github.com/1f349/go-webdav.git
synced 2025-01-30 19:26:31 +00:00
AddCurrentUserPrivilegeSet to find caldav
This commit is contained in:
parent
906087cd59
commit
63f15c0ec6
@ -563,6 +563,9 @@ func (b *backend) propFindCalendar(ctx context.Context, propfind *internal.PropF
|
|||||||
Size: cal.MaxResourceSize,
|
Size: cal.MaxResourceSize,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
props[internal.CurrentUserPrivilegeSetName] = func(*internal.RawXMLValue) (interface{}, error) {
|
||||||
|
return &internal.CurrentUserPrivilegeSet{Privilege: internal.NewAllPrivileges()}, nil
|
||||||
|
}
|
||||||
|
|
||||||
// TODO: CALDAV:calendar-timezone, CALDAV:supported-calendar-component-set, CALDAV:min-date-time, CALDAV:max-date-time, CALDAV:max-instances, CALDAV:max-attendees-per-instance
|
// TODO: CALDAV:calendar-timezone, CALDAV:supported-calendar-component-set, CALDAV:min-date-time, CALDAV:max-date-time, CALDAV:max-instances, CALDAV:max-attendees-per-instance
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user