Joining a non-public channel on pnut results in a public room created in matrix #58

Closed
opened 2022-06-27 14:16:41 +00:00 by thrrgilag · 5 comments
thrrgilag commented 2022-06-27 14:16:41 +00:00 (Migrated from gitlab.com)

When establishing a portal room on matrix to a private channel on pnut, presumably because an authorized initiated through a /join, the matrix room is set incorrectly as a public room that anyone can join and listed in the directory as such.

What should actually happen is when the room is created it should be set to private, invite only, and not visible in the public directory.

When establishing a portal room on matrix to a private channel on pnut, presumably because an authorized initiated through a /join, the matrix room is set incorrectly as a public room that anyone can join and listed in the directory as such. What should actually happen is when the room is created it should be set to private, invite only, and not visible in the public directory.
thrrgilag commented 2022-06-27 14:16:41 +00:00 (Migrated from gitlab.com)

assigned to @thrrgilag

assigned to @thrrgilag
thrrgilag commented 2022-06-27 14:17:40 +00:00 (Migrated from gitlab.com)

Issue is temporarily mitigated by monitoring for such rooms and unlink through the pnut control room.

Issue is temporarily mitigated by monitoring for such rooms and unlink through the pnut control room.
thrrgilag commented 2022-06-29 01:33:33 +00:00 (Migrated from gitlab.com)

When creation of the matrix room is triggered, the preset and visibility is being determined based on the pnut channel.acl.read.any_user flag. There exists however an independent attribute, channel.acl.read.public, which determines if a room can be access by unauthenticated users or not. So this should be the condition which determines the preset and visibility for matrix.

When creation of the matrix room is triggered, the preset and visibility is being determined based on the pnut channel.acl.read.any_user flag. There exists however an independent attribute, channel.acl.read.public, which determines if a room can be access by unauthenticated users or not. So this should be the condition which determines the preset and visibility for matrix.
thrrgilag commented 2022-06-29 01:42:13 +00:00 (Migrated from gitlab.com)

changed title from Joining a {-private-} channel on pnut results in a public room created in matrix to Joining a {+non-public+} channel on pnut results in a public room created in matrix

changed title from **Joining a {-private-} channel on pnut results in a public room created in matrix** to **Joining a {+non-public+} channel on pnut results in a public room created in matrix**
thrrgilag commented 2022-06-30 19:50:58 +00:00 (Migrated from gitlab.com)

mentioned in commit c75b7517ca

mentioned in commit c75b7517ca8f3e0f863749bf72028887744f44e1
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: spacenerdmo/pnut-matrix#58
No description provided.