mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 07:52:19 +00:00
This commit removes can_create_streams and can_subscribe_other_users to use has_permission as a generic function in UserProfile model for these settings policies. Relevant changes are made to events.py to avoid duplication at some places.
117 KiB
117 KiB