Create calendar as admin and set the displayname

Zorg zorg at probesys.com
Sun Feb 2 15:09:48 EST 2020


Hi

Let me explain.

I want my admin to create the calendar for myuser (setting the 
displayname and the supported-calendar-component-set)

For example myadmin at my.domain.com create user/myuser1/#calendars/Default 
using

file mkcal.xml :

    <C:mkcalendar xmlns:D="DAV:"
                  xmlns:C="urn:ietf:params:xml:ns:caldav">
      <D:set>
        <D:prop>
          <C:calendar-description 
xmlns:C="urn:ietf:params:xml:ns:caldav">My super 
calendar</C:calendar-description>
          <D:displayname>Mon calendrier</D:displayname>
          <C:supported-calendar-component-set 
xmlns:C="urn:ietf:params:xml:ns:caldav">
             <C:comp name="VEVENT" />
          </C:supported-calendar-component-set>

        </D:prop>
      </D:set>
    </C:mkcalendar>



curl -v --user myadmin at my.domain.com :12341234 --header "Content-Type: 
text/xml"  -d @mkcal.xml -X MKCALENDAR 
http://192.168.45.42:8008/dav/calendars/user/myuser1@mydomain.com/Default


but if myuser connect the calendar is create but hte displayname and the 
supported-calendar-component-set and not set

the admin see everything ok (the displayname and the 
supported-calendar-component-set)

does it the way it should work ?

and is there a way to set displayname and the 
supported-calendar-component-set for everyone the same ?

Thanks





More information about the Info-cyrus mailing list