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

[Story] Remove a user from a room #2260

Closed
2 of 3 tasks
pixlwave opened this issue Jan 10, 2024 · 0 comments
Closed
2 of 3 tasks

[Story] Remove a user from a room #2260

pixlwave opened this issue Jan 10, 2024 · 0 comments

Comments

@pixlwave
Copy link
Member

pixlwave commented Jan 10, 2024

Description

  • As a user that has the appropriate power level.
  • I want to be able to
    • Kick a user (user can rejoin).
    • Ban a user (user cannot rejoin).
    • Unban a banner user (user can now rejoin).
  • So that the room can be moderated on mobile whilst on the go.

Designs

Acceptance criteria

  • When visiting the user profile of a room member, anyone who has the power level to kick will see an additional button to remove that member from the room.
  • When the user clicks this button, if they have the power level to ban they will be prompted whether the action is permanent or if the member will be allowed to rejoin.
  • Users that are kicked out of a room are no longer members of the room. They don’t show up in the room-member list anymore.
  • Users that are banned should show at the end of the room-member list in a section only visible to members that have the right to ban room members. Visiting the profile of one of these users should show a button to unban that user.
  • The new button should not be shown when visiting a user profile from a DM (1:1 room with isDirect && isEncrypted), only for regular rooms.
  • Posthog Tracking:
  • Event: RoomAdmin
  • Property:
  • -Kickuser
    -- BanUser
    -- UnbanUser

Size estimate

S

Dependencies

Out of scope

  • Compatibility with other matrix clients that use the moderation APIs in other ways, such as supporting power levels outside of member, mod and admin.

Open questions

Questions

Preview Give feedback

Subtasks

Android

Preview Give feedback
  1. A-User-Detail T-Task
    jmartinesp

iOS

Preview Give feedback
  1. A-User-Detail T-Task
    pixlwave

Rust

Preview Give feedback
No tasks being tracked yet.

Other

Preview Give feedback
No tasks being tracked yet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant