About storage for GroupState #97
Replies: 4 comments 2 replies
-
At present, there is only one global-state of cyfs-stack, which is the state of the current protocol stack identity (People object usually), which is divided into root-state and local-cache |
Beta Was this translation helpful? Give feedback.
-
Regarding the permissions control of group-state, group-state should only be a component and a set of internal interfaces provided by cyfs-stack, and will not directly provide RPC layer interfaces for external access; group components provide externally accessible RPC interfaces, And can directly access all group-states, so permission control should be implemented inside the group component for better |
Beta Was this translation helpful? Give feedback.
-
Thank you, Is there someone can help me to support it. maybe it'll update the core code existed. |
Beta Was this translation helpful? Give feedback.
-
It has entered the development state, welcome to make suggestions and comments |
Beta Was this translation helpful? Give feedback.
-
In the development process of "Group", I need an storage module based on the CYFS kernel. I have several requirements:
It can store the kernel information of the "Group" module, including APP status information and consensus chain information. The specific content is described in:
https://github.com/buckyos/CYFS/issues/71#issuecomment-1378616109
Similar to RootState, the objects mounted on it will not be recycled
Authority:
Can be modified by the "administrator" of the "group", but cannot be modified by the ordinary "member",
Can be read by the "members" of the "Group" (either in the same OOD or not) and synchronized to the corresponding location on the respective RootState
Other members and "DEC" access the corresponding state through the "Member" RootState of "Group", with the same permissions as the RootState
@lurenpluto @waterflier
Beta Was this translation helpful? Give feedback.
All reactions