mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 20:41:46 +00:00
This commit updates the API to check the permission to subscribe other users while creating multi-use invites. The API will raise error if the user passes the "stream_ids" parameter (even when it contains only default streams) and the calling user does not have permission to subscribe others to streams. We did not add this before as we only allowed admins to create multiuse invites, but now we have added a setting which can be used to allow users with other roles as well to create multiuse invites.
8.7 KiB
8.7 KiB