Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSC3394: New auth rule that only allows someone to post a message in relation to another message #3394

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Example: new auth rule that only allows someone to post a message in relation to another message
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Example: new auth rule that only allows someone to post a message in relation to another message
# New auth rule that only allows someone to post a message in relation to another message


Today, chat platforms are used broadly in order to broadcast information to large audiences. An example of this are [Telegram channels](https://telegram.org/tour/channels/).

Matrix rooms can be used to a similar effect, if permissions are set so that regular users can't post any messages. Subscribers are fine with this most of the time, because they're usually more interested in reading new content by the room's owner than in replying to that content, or in reading what other subscribers have to say.

But some times they may want to give feedback, or read other people's opinions; and that can't be done today because, by definition, this kind of room prevents any type of conversation.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
But some times they may want to give feedback, or read other people's opinions; and that can't be done today because, by definition, this kind of room prevents any type of conversation.
But sometimes they may want to give feedback, or read other people's opinions; and that can't be done today because, by definition, this kind of room prevents any type of conversation.


## Proposal

I propose a new auth rule that only allows room members to post a message if it's in relation to another message.

This will mean that regular users can't post top-level messages, but they can start threads and reply to them; this will allow for conversation inside the room while keeping the room clean for subscribers who just want the news; because the main timeline will only contain posts by the room's owner, and all the conversations will take place within threads.

It may also be useful for additional purposes: for example a [client focused on social networking](https://matrix.org/blog/2020/12/18/introducing-cerulean) could use a room to store a user's posts, which could then be followed by other users; or a [matrix-based comment system](https://cactus.chat/) could show every post on a webpage in the same room, with all the discussions happening inside threads.

## Alternatives

It would also be possible to achieve the same result with threads-as-rooms; this would also allow for greater flexibility (e.g. allowing regular users to comment some posts, but not others) but it would also probably be more expensive.MSC3393: new auth rule that only allows someone to post a message in relation to another messageMSC3393: new auth rule that only allows someone to post a message in relation to another message