Hello,
Since I upgraded from Portal for ArcGIS 11.0 to Portal for ArcGIS 11.1, I can no longer share items with the groups I own... I guess it's a regression as it used to work with 11.0.
I debug a little bit and noticed the following: if you own more than 29 groups configured with "isViewOnly" set to True (Who can contribute content ? => Group owner and managers"), I can no longer share.
Indeed, to retrieve the list of groups that can be shared with, it makes a POST to:
/sharing/rest/community/groups
with the following 'q' parameter:
q: (isviewonly:false OR 0108318c3d144cf5be12837022f7049c OR 0171609ba0ba480fa2cfb40a9a70635f OR 0934e513266d4ddb80e342cd658937bf OR 0c4a52980b94405ca7ac853fd938ca31 OR 15620fa67eac4973818f7789653b66b4 OR ... OR fce1af7d980144999b28c968c4439232)
If you have less than 30 groups, request works if you have 30 or more, it returns:
{"total":0,"start":0,"num":0,"nextStart":0,"results":[]}
At Portal for ArcGIS 11.0, this request was made differently as the groups were not specified in 'q' parameter but the user was specified:
q: (owner:myusername OR isviewonly:false)
Could you please help ?
Thanks,
Nicolas