[CalendarServer-users] Find group membership of users on client side
Gaurav Jain
monkeyfdude at gmail.com
Fri Dec 5 13:05:03 PST 2014
Please see my output below. I did get memberships for 'user01' mentioned in
group record 'disabledgroup'
-----------------------------------user01 start----------------------------
http://localhost:8008/principals/users/user01/
Group members:
'()
Group memberships:
-> (resources)resource01 [calendar-proxy-write]
<http://localhost:8008/principals/__uids__/resource01/calendar-proxy-write/>
-> (resources)resource02 [calendar-proxy-write]
<http://localhost:8008/principals/__uids__/resource02/calendar-proxy-write/>
-> (resources)resource03 [calendar-proxy-write]
<http://localhost:8008/principals/__uids__/resource03/calendar-proxy-write/>
-> (resources)resource04 [calendar-proxy-write]
<http://localhost:8008/principals/__uids__/resource04/calendar-proxy-write/>
-> (resources)resource05 [calendar-proxy-write]
<http://localhost:8008/principals/__uids__/resource05/calendar-proxy-write/>
-> (resources)resource06 [calendar-proxy-write]
<http://localhost:8008/principals/__uids__/resource06/calendar-proxy-write/>
-> (resources)resource07 [calendar-proxy-write]
<http://localhost:8008/principals/__uids__/resource07/calendar-proxy-write/>
-> (resources)resource08 [calendar-proxy-write]
<http://localhost:8008/principals/__uids__/resource08/calendar-proxy-write/>
-> (resources)resource09 [calendar-proxy-write]
<http://localhost:8008/principals/__uids__/resource09/calendar-proxy-write/>
-> (resources)resource10 [calendar-proxy-write]
<http://localhost:8008/principals/__uids__/resource10/calendar-proxy-write/>
Read-write Proxy For:
-> (resources)resource01 - Resource 01
<http://localhost:8008/principals/__uids__/resource01/>
-> (resources)resource02 - Resource 02
<http://localhost:8008/principals/__uids__/resource02/>
-> (resources)resource03 - Resource 03
<http://localhost:8008/principals/__uids__/resource03/>
-> (resources)resource04 - Resource 04
<http://localhost:8008/principals/__uids__/resource04/>
-> (resources)resource05 - Resource 05
<http://localhost:8008/principals/__uids__/resource05/>
-> (resources)resource06 - Resource 06
<http://localhost:8008/principals/__uids__/resource06/>
-> (resources)resource07 - Resource 07
<http://localhost:8008/principals/__uids__/resource07/>
-> (resources)resource08 - Resource 08
<http://localhost:8008/principals/__uids__/resource08/>
-> (resources)resource09 - Resource 09
<http://localhost:8008/principals/__uids__/resource09/>
-> (resources)resource10 - Resource 10
<http://localhost:8008/principals/__uids__/resource10/>
Read-only Proxy For:
'()
Calendar Homes:
-> /calendars/__uids__/user01/
<http://localhost:8008/calendars/__uids__/user01/>
Calendar user addresses:
-> /principals/__uids__/user01/
<http://localhost:8008/principals/__uids__/user01/>
-> /principals/users/User%2001/
<http://localhost:8008/principals/users/User%2001/>
-> /principals/users/user01/ <http://localhost:8008/principals/users/user01/>
-> mailto:user01 at example.com <user01 at example.com>
-> urn:uuid:user01
Address Book homes:
-> /addressbooks/__uids__/user01/
<http://localhost:8008/addressbooks/__uids__/user01/>
-----------------------------------user01 end----------------------------
-----------------------------------cadboo start----------------------------
http://localhost:8008/principals/users/cdaboo/
Group members:
'()
Group memberships:
'()
Read-write Proxy For:
'()
Read-only Proxy For:
'()
Calendar Homes:
-> /calendars/__uids__/cdaboo/
<http://localhost:8008/calendars/__uids__/cdaboo/>
Calendar user addresses:
-> /principals/__uids__/cdaboo/
<http://localhost:8008/principals/__uids__/cdaboo/>
-> /principals/users/cdaboo/ <http://localhost:8008/principals/users/cdaboo/>
-> mailto:cdaboo at example.com <cdaboo at example.com>
-> urn:uuid:cdaboo
Address Book homes:
-> /addressbooks/__uids__/cdaboo/
<http://localhost:8008/addressbooks/__uids__/cdaboo/>
-----------------------------------cadboo end----------------------------
-----------------------------------sagen start----------------------------
http://localhost:8008/principals/users/sagen/
Group members:
'()
Group memberships:
'()
Read-write Proxy For:
'()
Read-only Proxy For:
'()
Calendar Homes:
-> /calendars/__uids__/sagen/ <http://localhost:8008/calendars/__uids__/sagen/>
Calendar user addresses:
-> /principals/__uids__/sagen/
<http://localhost:8008/principals/__uids__/sagen/>
-> /principals/users/sagen/ <http://localhost:8008/principals/users/sagen/>
-> mailto:sagen at example.com <sagen at example.com>
-> urn:uuid:sagen
Address Book homes:
-> /addressbooks/__uids__/sagen/
<http://localhost:8008/addressbooks/__uids__/sagen/>
-----------------------------------sagen end----------------------------
-----------------------------------user08 start----------------------------
http://localhost:8008/principals/users/user08/
Group members:
'()
Group memberships:
'()
Read-write Proxy For:
'()
Read-only Proxy For:
'()
Calendar Homes:
-> /calendars/__uids__/user08/
<http://localhost:8008/calendars/__uids__/user08/>
Calendar user addresses:
-> /principals/__uids__/user08/
<http://localhost:8008/principals/__uids__/user08/>
-> /principals/users/User%2008/
<http://localhost:8008/principals/users/User%2008/>
-> /principals/users/user08/ <http://localhost:8008/principals/users/user08/>
-> mailto:user08 at example.com <user08 at example.com>
-> urn:uuid:user08
Address Book homes:
-> /addressbooks/__uids__/user08/
<http://localhost:8008/addressbooks/__uids__/user08/>
-----------------------------------user08 end----------------------------
On Fri, Dec 5, 2014 at 12:53 PM, Cyrus Daboo <cdaboo at apple.com> wrote:
> Hi Gaurav,
>
> --On December 5, 2014 at 12:38:36 PM -0800 Gaurav Jain <
> monkeyfdude at gmail.com> wrote:
>
> Relevant Group : 'group01'
>> Relevant User : 'cdaboo'
>>
>>
> Definitely remove the <members> element from the cdaboo user. Restart the
> server and look at cdaboo, sagen, user01 and user08 in a browser.
>
> --
> Cyrus Daboo
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-users/attachments/20141205/e84bb6f7/attachment.html>
More information about the calendarserver-users
mailing list