status-mobile
status-mobile copied to clipboard
Selecting / unselecting account addresses during editing does not affect channel permissions
Originally reported here https://github.com/status-im/status-mobile/pull/19623#issuecomment-2064102939
Preconditions: here are my community permissions:
- Anyone who holds MBCOL is eligible to join as Member
- Anyone who holds CNONE is eligible to View and Post in chan-1
My mobile user holds MBCOL on Membership
account and CNONE on chan 2
account (you can see it on video below the Steps)
Steps:
- Mobile user opens community
- Unselect
chan 2
account which holds CNONE collectible required to accesschan-1
channel - Join the community
- After joining open Editing shared addresses
- Select
chan 2
account which holds CNONE collectible required to accesschan-1
channel - Confirm changes
- See if mobile user is able to access chan-1
Expected result: user is able to access chan-1 as he shared chan 2
account which holds CNONE collectible required to access chan-1
channel
Actual result: unable to access chan-1
channel as it remains locked.
Desktop_control_node.log.zip mobile_user_edited_address.zip
https://github.com/status-im/status-mobile/assets/97245802/f89c5e07-ccc5-487b-9632-767ad67702b9
IMPORTANT:
This bug is related not only to Editing shared addresses feature. Basically the same will happen if you leave the community and re-join it with newly selected addresses. Actual result will be: channel permissions will work according to selected addresses durring you joined community for the first time.