zephyr_mirror: Add a few more restricted-access classes.

(imported from commit 6690e5dcd6a313ac4e4ef2351e300306ca7fb3c5)
This commit is contained in:
Tim Abbott 2012-12-18 16:48:17 -05:00
parent 6aa8257102
commit e609692e33

View file

@ -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