ckshare child with different permission?

Can I use ckshare child with different permission?


like Blog(ckrecord) -

Photo(ckrecord) Comments(ckrecord). (one to many schema )


I want to share Blog with Photo(onlyread) , Comments(read/write) permission to other users.


parent reference and root sharing only set one permission all-child-down.


any idea ?

I'm looking to do the same, did you manage to figure out a solution to this?
A CKShareParticipant can only have one permission for the entire share.

As discussed in this this thread, one idea might be to use two distinct shares. If taking a dual-share approach, one possible option might be to include the share URL for the second share in the first share (either as a custom field on the first CKShare itself or a custom CKRecord type which is part of the first share. That way, the owner only needs to distribute a share URL for the first share to the invited participant. Once the invited participant accepts the first share, your code could read the share URL for the second share and accept the second share on behalf of the participant.
ckshare child with different permission?
 
 
Q