mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
streams: Use can_subscribe_group setting for checking permission.
This commit adds code to use can_subscribe_group setting in webapp. Fixes part of #33417.
This commit is contained in:
@@ -180,6 +180,8 @@ IGNORED_PHRASES = [
|
||||
r"weeks",
|
||||
# Used in "Who can subscribe others to this channel" label.
|
||||
r"must be subscribed",
|
||||
# Used in "Who can subscribe to this channel" label.
|
||||
r"everyone except guests can subscribe to any public channel",
|
||||
]
|
||||
|
||||
# Sort regexes in descending order of their lengths. As a result, the
|
||||
|
||||
Reference in New Issue
Block a user