Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Upgrading a room promotes mod to admin #6632

@Bubu

Description

@Bubu

Description

(Note: This is a apparently a known problem, but there's no issue for it we could find.)

When upgrading a room the user doing the upgrade gets promoted to admin in the old and new room.

Steps to reproduce

  • create a new room
  • invite user X
  • grant moderator permissions to user X
  • user X upgrades the room
  • user X is now admin in the old and new room

I'd have expected that either the room upgrade is only allowed for admin users (if that's a technical requirement) or that the result of the upgrade is the same as before the upgrade (the user doing the upgrade is still moderator in both the old and the new rooms)

The default PL requirement for upgrading a room is 50 (moderator). This effectively makes this a potential privilege escalation bug if you don't change the default settings before promoting someone to moderator level.

Version information

  • Version: 1.7.3

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions