mirror of https://github.com/zulip/zulip.git
b871ffe712
We now show the stream permission settings - stream privacy, stream post policy and stream message retentions setting, always in the "General" section of stream settings instead of showing it in the modal. The setting elements are disabled for users who cannot change them. Some important changes are - - Add proper classes and IDs to the elements such that code in settings_org.js can be used to set and change these settings. - Code in "settings_org.js" is updated to be able to set stream message retention setting while rendering the page. - Added enable_or_disable_permission_settings_in_edit_panel function in stream_ui_updates.js (since that will also be used in live updating code) to disable the setting elements if required. - We also update update_web_public_stream_privacy_option_state function such that we can correctly enable/disable web-public option in stream edit panel based on permissions. - Added code for save-discard widget in stream_settings.hbs in this commit but code to implement the correct behavior of it will be added in further commits. Fixes part of #19519. |
||
---|---|---|
.. | ||
assets | ||
audio/notification_sounds | ||
generated | ||
html | ||
images | ||
js | ||
shared | ||
styles | ||
templates | ||
third | ||
.gitignore |