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] Change user rights #2261

Closed
3 tasks done
pixlwave opened this issue Jan 10, 2024 · 1 comment
Closed
3 tasks done

[Story] Change user rights #2261

pixlwave opened this issue Jan 10, 2024 · 1 comment

Comments

@pixlwave
Copy link
Member

pixlwave commented Jan 10, 2024

Description

  • As a room admin.
  • I want to be able to change the rights for each user-role.
  • So that the room can be configured from mobile whilst on the go.

Designs

Acceptance criteria

  • When visiting the Edit Room Details Screen, the following operations should be shown to room admins:
    • Change room appearance:
      • Change the room name
      • Change the room avatar
      • Change the room topic
    • Create & delete content:
      • Send messages in the room
      • Delete messages from other users in the room
    • Administrate room members:
      • Invite users to the room
      • Kick users from the room
      • Ban users from the room
  • Each operation should be configurable between one of Admin, Moderator or Member.
  • Add an option to "reset" the changed user-rights to "default"
  • The new settings should not be available for DMs (1:1 room with isDirect && isEncrypted), only for regular rooms.
  • Posthog Tracking
  • Event: RoomAdmin
  • Property:
    • change_room_name
    • change_room_avatar
    • change_room_topic
    • change_rights_sendmessages
    • change_rights_deletemessages
    • change_rights_inviteusers
    • change_rights_kickusers
    • change_rights_banusers

Size estimate

S

Dependencies

  • None

Out of scope

  • We do not need parity with web, which has many more configurable options.
  • 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
No tasks being tracked yet.

Subtasks

Android

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

iOS

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

Rust

Preview Give feedback
  1. pixlwave

Other

Preview Give feedback
No tasks being tracked yet.
@jmartinesp
Copy link
Member

jmartinesp commented Feb 19, 2024

The story mentions 'Add an option to "reset" the changed user-rights to "default"' but I don't think we have anything that either returns those default values or resets them in the Rust SDK.

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

2 participants