zulip/zerver
Sahil Batra fd70e83980 streams: Fix incorrect setting value in stream creation event.
Value for "can_administer_channel_group" passed in stream
creation event was incorrect when there was no value passed
for the setting while creating the stream and thus the setting
was set to anonymous group containing stream creator as default.

This was because code for creating setting_groups_dict, which
is used to send setting values in the stream creation event,
incorrectly assumed that defaults for all settings is a system
group.

This was not noticed before because we pass all the settings
when creating streams using webapp, but can be reproduced
by creating streams using API without passing any value for
"can_administer_channel_group".
2025-02-03 13:42:02 -08:00
..
actions message_summary: Reorganize settings and secrets. 2025-01-29 14:55:35 -08:00
data_import slack: Mark content-type of imported attachments. 2025-01-31 14:29:57 -08:00
integration_fixtures/nagios
lib markdown: Document possible_linked_stream_names. 2025-02-02 10:06:22 -08:00
management register_server: Add docs_url to HostnameAlreadyInUseBouncerError. 2025-01-31 13:20:56 -08:00
migrations models: Add content_type to ImageAttachment. 2025-01-31 14:29:57 -08:00
models models: Add content_type to ImageAttachment. 2025-01-31 14:29:57 -08:00
openapi settings: Remove bot_creation_policy setting. 2025-01-30 11:37:35 -08:00
tests test_docs: Remove duplicate entry from test_zephyr_disallows_robots. 2025-02-01 15:38:46 -08:00
tornado mark_unread: Add support for empty topic name. 2025-01-07 17:24:00 -08:00
transaction_tests test_user_groups: Add durable=True to the independent transaction. 2024-11-21 14:55:15 -08:00
views streams: Fix incorrect setting value in stream creation event. 2025-02-03 13:42:02 -08:00
webhooks HomeAssistant: Convert image instructions to code blocks. 2025-02-01 15:38:46 -08:00
worker models: Add content_type to ImageAttachment. 2025-01-31 14:29:57 -08:00
__init__.py
apps.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
context_processors.py portico: Replace "Find accounts" link with "Log in". 2025-01-24 14:55:47 -08:00
decorator.py queue: Rename queue_json_publish to queue_json_publish_rollback_unsafe. 2024-12-06 09:23:02 -08:00
filters.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
forms.py ruff: Partially reformat Python with Ruff 0.9 (2025 style). 2025-01-14 09:42:16 -08:00
logging_handlers.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
middleware.py test_classes: Refine assert_json_success output with exception chaining. 2024-12-04 11:38:45 -08:00
signals.py queue: Rename queue_json_publish to queue_json_publish_rollback_unsafe. 2024-12-06 09:23:02 -08:00