@@ -210,8 +210,10 @@ excluded-people = [
210210 " rylev" ,
211211]
212212
213- # Define the Zulip streams used by the team
213+ # Define the Zulip streams used by the team.
214214# It's optional, and there can be more than one.
215+ # Please refer to the Configuring Zulip streams subsection
216+ # below for more details.
215217#
216218# This will remove anyone who isn't in the team from the stream
217219# so it should only be used for private streams at the moment.
@@ -242,6 +244,39 @@ excluded-people = [
242244]
243245```
244246
247+ ### Configuring Zulip streams
248+
249+ > [ !TIP]
250+ >
251+ > The ` [[zulip-stream]] ` configuration is only suitable for managing membership
252+ > and thus access of ** private** Zulip streams, as otherwise public streams need
253+ > no such managing.
254+
255+ To let the ` team ` repository automation manage the membership and access of a
256+ private Zulip stream, there are two scenarios:
257+
258+ 1 . The private Zulip stream is pre-existing.
259+ 2 . The private Zulip stream does not yet exist.
260+
261+ #### Case 1: Pre-existing private Zulip stream
262+
263+ An existing member of the private Zulip stream must manually invite [ Rust Owner
264+ Account] to the private stream. This is because even owners of the Zulip
265+ instance cannot access private streams unless invited, and so even ` infra-admin ` s
266+ cannot perform this action for privacy reasons.
267+
268+ > [ !WARNING]
269+ >
270+ > Please double-check that the Rust Owner Account Zulip user being invited has
271+ > the "Owner" role -- and is not an impersonating user.
272+
273+ #### Case 2: The private Zulip stream does not yet exist
274+
275+ In this case, no manual intervention is necessary, because [ Rust Owner Account]
276+ can be added alongside stream creation.
277+
278+ [ Rust Owner Account ] : https://rust-lang.zulipchat.com/#user/494485
279+
245280## Permissions
246281
247282Permissions can be applied either to a single person or to a whole team, and
0 commit comments