User ban in a 2+ message thread

Created on 29 October 2024, 5 months ago

Problem/Motivation

When the blocking mode is active:
"Blocked members cannot message users that blocked them and instead a message is shown."

I understand if there is a 2 user thread, and the other user bans the other the thread and messagin is not anymore
possible.
But how this should work if there are 3 users in a thread(chat) or more?

So in a 3 user thread:
If user 1 bans user no. 2
The current outcome seems to be:
User 1 does not have any access to the thread.
User 2 has access to the thread but cant send any messages to it, no text box available.
User 3 can write in the thread new messages which user 2 sees.

I think this is not the best solution, one ban destroys the whole thread and the one who
got banned cant anymore chat with others in that thread.

I think it should be like this:
If user 1 wanted to ban user 2, user 1 should be thrown away
from the chat because there are others; user 2 and 3 should be able to continue chat.
Also while banning it should be warned
"you will be kicked out from all the threads where this particular user is currently"

I dont know is this possible, to remove members from the thread?

If this is not possible, then there should be a limit how many members are in a thread,
and it should be set to 2 from the UI ?

Steps to reproduce

Proposed resolution

To implement this, the module would need to support:

Thread Member Management: Allowing removal of specific users from threads, or adjusting access dynamically based on blocking status.

Conditional Access Control: Logic that checks blocking relationships, removing only the blocker from shared threads, while maintaining thread access for others.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇫🇮Finland anaconda777

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @anaconda777
  • 🇵🇹Portugal dxvargas

    I have another suggestion.

    When a user 1 is participating in a thread and blocks someone in that thread, the user 1 will loose track of that thread, like if it didn't exist (it can only access to the thread if it uses the URL!!). It will also loose track of all the threads that the blocked user participates. It seems like the blocked user is the one that blocked someone!

    I think the user 1 should continue to access all threads.
    It just shouldn't read the messages from the blocked user.
    But I think the best would be to see them obscured. I consider important to be aware that a message was posted in a thread.
    Remaining tasks

    It's also important to understand how the Passive/Active blocking works for threads.

Production build 0.71.5 2024