When we create a thick thread, we should check if the viewer is a member and set the role and permissions accordingly. This case can happen when we receive a create sidebar operation.
When a user leaves a sidebar, we should also update their permissions.
https://linear.app/comm/issue/ENG-9318/sidebar-joining-issues