hicommonwealth / commonwealth

A platform for decentralized communities
https://commonwealth.im
GNU General Public License v3.0
67 stars 42 forks source link

Users should not be allowed to create communities without valid admin address #4550

Closed jnaviask closed 11 months ago

jnaviask commented 1 year ago

Describe the bug

Currently, any user can create any kind of community regardless of their addresses. This means we can end up in a state where a user is unable to join the community they just created (and therefore cannot administrate it).

To Reproduce

Log into Commonwealth with a Cosmos address, then use the /createCommunity page to create an ERC20 community.

Expected behavior

Per @zakhap's comment on #4539: we should disable create community page actions that cannot be taken by the user's active address. This should include types of community (ERC20, ERC721), as well as options for starter community base (ethereum, cosmos...).

Call to action banner will be ticketed separately.

CowMuon commented 1 year ago

Current thinking may not be to assume an active address and limit user's abilities based on that, but rather give the user a choice of which of their existing addresses to use ("or, add another") on the create community form.

NB. This implies an affordance to the use if they are trying to create a community the do not have a valid address for. (This implies active form validation on the client side.)

kurtisassad commented 1 year ago

@CowMuon I understand the ask, but I think this is out of scope of the ticket because it needs design work first.