Communities: Support beneficiaries
Beneficiaries would be a metadata that we would return and front ends would take that and apply it when creating a post in a community, it would be a json dict inside of the settings column where you can store up to 128 beneficiaries (hived limit)
beneficiaries would be set using the updateProps action.
On the posts we would use the "is_valid" column to set it as "false" if the beneficiaries in the post don't match those of the community. I think that approach works because you can just set posts as "valid" as you go during the sync and not have to look back once the beneficiaries change. (basically beneficiaries change are not retroactive in terms of "does it affect old posts)
Edited by Howo