mirror of
https://github.com/1f349/go-webdav.git
synced 2024-12-21 15:54:13 +00:00
AddCurrentUserPrivilegeSet to find caldav
This commit is contained in:
parent
266c39c655
commit
757f4a8c2a
@ -573,6 +573,9 @@ func (b *backend) propFindCalendar(ctx context.Context, propfind *internal.PropF
|
||||
return &maxResourceSize{Size: cal.MaxResourceSize}, nil
|
||||
}
|
||||
}
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user