Closed virginiabalducci closed 23 hours ago
I think the second issue is related or the same as https://github.com/status-im/status-desktop/issues/15009
It might help @osmaczko have a reproduction step
I think the second issue is related or the same as #15009
It might help @osmaczko have a reproduction step
Thanks, I'll take a look.
Bug Report
Description
There are two issues reported here, if needed I can open a different issue to track issue 2. Issue 1: Re-evaluation does not happen after creating a channel and then after a few seconds of creation, adding a permission. Issue 2: When permission is added to the channel, users who do not meet the permission's condition should no longer see the channel. However, one user seems to have been kicked from the community entirely.
Steps to reproduce
Test from the control-node side to see the re-evaluation logs. (log in with a community owner)
Expected behavior
Re-evaluation to happen within 5 minutes. Members who were seeing the channel before Owner added permissions, should be restricted according to the permission. If the channel has a permission to hide it from members who don't have permissions, member should not see the channel.
Actual behavior
After 5 minutes, re-evaluation does not happen. Log in with a member, and see that members who do not met the permission's conditions see the channel and can post, but they do not see the member list. On the admin's side, all members appear on the list, even though none meet the requirements.
Owner's screen - channel just created
Channel's permissions added
Users can see the channel
![Screenshot 2024-06-13 at 8 05 03 PM](https://github.com/status-im/status-desktop/assets/68916150/77336240-c500-4449-964b-c86d223993d1)
Channel was created at around 20:00 hs
geth log shows last re-evaluation happened:
Re-evaluation only happened after Owner (control node) quitted and re-opened app
Owner![Screenshot 2024-06-13 at 8 20 09 PM](https://github.com/status-im/status-desktop/assets/68916150/22a60ec7-af19-48ef-ba8a-831798d37f91)
Member Test022 who does not meet the channel requirements cannot see the channel any longer, this is as expected![Screenshot 2024-06-13 at 8 20 00 PM](https://github.com/status-im/status-desktop/assets/68916150/c9abb8dc-45e4-41dd-aae2-0502a0181e4e)
However, member Test023 seems to have been kicked and does not see the community any longer. Also, it does not show as a member.
Notice by this screen (Owner) that Test023 even posted messages
![Screenshot 2024-06-13 at 8 32 06 PM](https://github.com/status-im/status-desktop/assets/68916150/40dbd733-2880-48dc-a964-8abe13feff95)
Adding console log from Testuser023 at the exact time that owner re-evaluation happened
After quitting and re-opening Test023 app, it seems as if they have never joined the community or they have been kicked.
Attaching geth.log from Test023 user geth.log.zip
Worth mentioning that there is an ongoing issue https://github.com/status-im/status-desktop/issues/15153 where user clicks a community link and nothing happens, I may have joined the community with this user while this issue is ongoing. Can maybe this have affected this user? Thanks!
Additional Information