status-mobile icon indicating copy to clipboard operation
status-mobile copied to clipboard

Selecting / unselecting account addresses during editing does not affect channel permissions

Open pavloburykh opened this issue 9 months ago • 5 comments

Originally reported here https://github.com/status-im/status-mobile/pull/19623#issuecomment-2064102939

Preconditions: here are my community permissions:

  1. Anyone who holds MBCOL is eligible to join as Member
  2. Anyone who holds CNONE is eligible to View and Post in chan-1
Status Desktop 2024-04-18 17-36-37

My mobile user holds MBCOL on Membership account and CNONE on chan 2 account (you can see it on video below the Steps)

Steps:

  1. Mobile user opens community
  2. Unselect chan 2 account which holds CNONE collectible required to access chan-1 channel
  3. Join the community
  4. After joining open Editing shared addresses
  5. Select chan 2 account which holds CNONE collectible required to access chan-1 channel
  6. Confirm changes
  7. 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.

pavloburykh avatar Apr 30 '24 19:04 pavloburykh