Public collections 2

From Davical
Jump to navigationJump to search

You may want to set a collection to be shareable or viewable by other people. There are a few different approaches to this:

  • Give users/groups access to view your user/collection.
  • Create an access ticket to allow others to access

If you create a token to access the calendar you'd use a URL like:

 https://calendar.example.com/public.php/user/collection/?ticket=TicketID

The important things to note here are the use of public.php instead of caldav.php and that TicketID is the Ticket ID that is created under Access Tickets when viewing a user (aka Principal). Only users who can write to a user can see the Access ID. Alternatively you can use the "Ticket: TicketID" HTTP header.