mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 11:52:01 +00:00
zephyr_mirror: Add a few more restricted-access classes.
(imported from commit 6690e5dcd6a313ac4e4ef2351e300306ca7fb3c5)
This commit is contained in:
@@ -191,7 +191,8 @@ def update_subscriptions_from_humbug():
|
|||||||
canonical_cls = unicodedata.normalize("NFKC", stream).lower().encode("utf-8")
|
canonical_cls = unicodedata.normalize("NFKC", stream).lower().encode("utf-8")
|
||||||
if canonical_cls in current_zephyr_subs:
|
if canonical_cls in current_zephyr_subs:
|
||||||
continue
|
continue
|
||||||
if canonical_cls in ['security', 'login', 'network', 'ops', 'user_locate']:
|
if canonical_cls in ['security', 'login', 'network', 'ops', 'user_locate',
|
||||||
|
'hm_ctl', 'hm_stat', 'zephyr_admin', 'zephyr_ctl']:
|
||||||
# These zephyr classes cannot be subscribed to by us, due
|
# These zephyr classes cannot be subscribed to by us, due
|
||||||
# to MIT's Zephyr access control settings
|
# to MIT's Zephyr access control settings
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user