Joining a non-public channel on pnut results in a public room created in matrix #58
Labels
No labels
Doing
To Do
bug
confirmed
critical
discussion
documentation
enhancement
future
suggestion
support
won't fix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: spacenerdmo/pnut-matrix#58
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
assigned to @thrrgilag
Issue is temporarily mitigated by monitoring for such rooms and unlink through the pnut control room.
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.
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
mentioned in commit
c75b7517ca