Open pavloburykh opened 10 months ago
Some of my finding while investigating this
You are not a member of this group
is displayed. Once the user navigates back to the community page in this case, the user is no longer able to open the channelView only
and View and Post
have the same effect on the UI. They both changed the icon to lock/unlocked when enabled/disabled and they both prevent access to the channel such that the user cannot view the conversations. Given that these are two different options in the UI i assume the functionality should also have a differenceIn conclusion, from my investigations:
More of a questions:
the rule View only
am not sure if this should actually work as currently seems to work. It is my thinking the a View only
channel behaves like an open channel with the difference being that the user should not be able to post a message because he is not a member
if the user is on the conversations page and the rule is deleted then the channel becomes open again and the user can view and post messages but on navigating back to the community page all channels are still token-gated until until i relaunch the app. This is more consistent with the reported issue
@pavloburykh
I assume deleting a rule should not disable permissions. Regarding my comments above on the View only
permission. After further investigations it works okay. I was a little confused because I set the rule but had zero SNT but upon using a loaded wallet the results were the expected
I was not able to reproduce the bug in this issue after several days of testing it. All seems okay
Originally reported here by @felicio
This issue describes an edge case when community channel permissions have been updated by admin at the moment when mobile community member is located at the community/channel screen. In this case permissions will be updated in mobile UI only after re-opening the community screen.
Preconditions: User A - desktop admin of the community with token gated channels. User B - mobile user, member of the community.
Steps:
Actual result: User B is able to enter token gated channels until he re-opens the community home screen. User B is not able to post messages in channel and observes "You are not a member of this group" message.
https://github.com/status-im/status-mobile/assets/5999878/07562ce3-e9f4-47c8-8f15-d8717140fbcb
Expected result:
Additional Information