-
Notifications
You must be signed in to change notification settings - Fork 440
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
fix(conversations): fix password enforcement logic error #13944
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could add an integration test?
/backport to stable30 |
Signed-off-by: Anna Larch <[email protected]>
cb81d8d
to
ac0bfcc
Compare
@@ -111,3 +111,9 @@ Feature: chat-2/public | |||
And user "participant1" renames room "public room" to "A name with 260 chars 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12345678" with 400 (v4) | |||
# 255 chars | |||
And user "participant1" renames room "public room" to "Another name with 255 chars 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 1234567" with 200 (v4) | |||
|
|||
Scenario: Create public room with a password | |||
When user "participant1" creates room "public room" with 201 (v4) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also add one where you set the config to "required" and try to create one without sending a password and expect 400?
☑️ Resolves
Passwords should be settable on public rooms no matter if the
force_passwords
options is set. Only check if a password is set if the option is set totrue
and the room is public, but still let public rooms set a password independent from the option.🛠️ API Checklist
🚧 Tasks
🏁 Checklist
docs/
has been updated or is not required