This was found while adding the permissions to the Status community.
Iuri started by adding a permission to all channels saying that $BRIDGE can view/post.
Then, he removed that one and set the bridge as admin.
After that, he put instead a view only on certain channels (private-announcements in this case).
Jacques was the one testing as a normal member, and he could see this weird case where the chat input was saying that he needs $Bridge to post in this. See screenshot:
After a restart, the state was ok:
What I think happened is that the channel still "remembered" when the channel had a view/post permission that needed $BRIDGE.
So there was some sort of signal that was missed.
Steps to reproduce
Have a community with one owner and one normal member
Mint an NFT
Set a permission to all channels for view/post needing that NFT
See that the member cannot see nor post in the channels
Remove the permission
Add a permission where having that NFT makes you admin
Add a permission to view only on one of the channels
See that the member can now see in the specific channel, they cannot post, but the message in the input is wrong
*Disclaimer: I'm not sure if all the steps above are necessary, but that's what Iuri did. He technically also added a permission to all channels that said that $STATUSCC (token Jacques had) can view/post. I don't think that's a necessary step, but saying here just in case.
Expected behavior
Member can see the right message in the input about read only
Actual behavior
Member could still see a message about the NFT even if it was no longer the case. Restart fixed it
Bug Report
Description
This was found while adding the permissions to the Status community.
Iuri started by adding a permission to all channels saying that $BRIDGE can view/post.
Then, he removed that one and set the bridge as admin.
After that, he put instead a view only on certain channels (private-announcements in this case).
Jacques was the one testing as a normal member, and he could see this weird case where the chat input was saying that he needs $Bridge to post in this. See screenshot:
After a restart, the state was ok:
What I think happened is that the channel still "remembered" when the channel had a view/post permission that needed $BRIDGE. So there was some sort of signal that was missed.
Steps to reproduce
*Disclaimer: I'm not sure if all the steps above are necessary, but that's what Iuri did. He technically also added a permission to all channels that said that $STATUSCC (token Jacques had) can view/post. I don't think that's a necessary step, but saying here just in case.
Expected behavior
Member can see the right message in the input about read only
Actual behavior
Member could still see a message about the NFT even if it was no longer the case. Restart fixed it
Additional Information