[CalendarServer-users] 9.0 upgrade -- sharing/groups

Dirk-Willem van Gulik dirkx at webweaving.org
Fri Jan 13 05:25:27 PST 2017


I am trying to debug why groups/shared calendars seem to have gone AWOL on 9.0 — working with a stock install with the sample files only lightly edited.

With the sample test/admin pair accounts.xml (http://pastebin.com/RQ9b3RV0 for full version):

>  <record type="user">
>     <uid>AEFBD20D-D975-11E6-9FB8-C86000BC390D</uid>
>    ...
>     <full-name>Super User</full-name>
>  </record>
>  <record type="user">
>     <uid>AEFBD20D-D975-11E6-9FB8-C86000BC390E</uid>
>    ...
>     <full-name>Test User</full-name> 
>  </record>
>  <record type="group”>
>    ...
>     <full-name>Group 01</full-name>
>     <member-uid>AEFBD20D-D975-11E6-9FB8-C86000BC390D</member-uid>
>     <member-uid>AEFBD20D-D975-11E6-9FB8-C86000BC390E</member-uid>
>  </record>

I nicely see a group01 with the right group members (http://pastebin.com/KBiMRQ5f for full version):

> 	• Group members:
> 	•  -> (<RecordType=user>)AEFBD20D-D975-11E6-9FB8-C86000BC390D - Super User
> 	•  -> (<RecordType=user>)AEFBD20D-D975-11E6-9FB8-C86000BC390E - Test User
>> 	• Group memberships:
> 	•  '()
>
but nothing in the reverse- the membership() of the users (http://pastebin.com/4me8Dv2L for full version):

> 	• Group members:
> 	•  '()
>> 	• Group memberships:
> 	•  ‘()

Is it not fair to assume that members() and membership() are each others inverse ? Or am I barking up the wrong tree here.

Dw


More information about the calendarserver-users mailing list