[Community permissions] Implement backend to change which addresses are shared with the Owner #11153
Labels
E:Desktop Community Shared Addresses Selection
Implementation of the Shared Addresses feature for joining communities and also for edits
feature
Milestone
Description
As part of "Changing shared address settings from within Community" (WIP design: https://www.figma.com/file/uHwhhUsne96HBhkunsD7Po/WIP-flows?type=design&node-id=8-34093&t=kwGGwrG4wikQ1eK5-0)
we need to implement an API that users can use to change which address they share with the owner.
The API will accept a community ID and a list of addresses.
Those addresses will then be sent to the control node, which will save them instead of the old ones (old ones are deleted/replaced).
Both the control and the user node will need to do a verification on the new addresses to make sure that the user still fulfills the requirements. If they do not, they lose the privilege they had.
No need to implement any UI for this. This is backend only, so mostly status-go, but if possible, do the service, controller, module and view code too (should be just a chain of calls up to status-go). You can just use a random placeholder UI element if you need to test it, but status-go tests can do the trick.
Acceptance Criteria
The text was updated successfully, but these errors were encountered: