Skip to content

Commit 947667b

Browse files
authored
Merge pull request #1014 from jieyouxu/repo-access
Document policy on individual repo accesses
2 parents 367b9fc + 12b7762 commit 947667b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/infra/team-maintenance.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,23 @@ The following changes must be approved and merged by a `team-repo-admin`:
4747
* Changing `perf` permissions
4848
* Changing `crater` permissions
4949

50+
<div class="warning">
51+
Individual accesses may not be given to a repository.
52+
Only team accesses should be given to a repository.
53+
</div>
54+
5055
On the other hand, changes to the configuration or automation of repositories
5156
may be approved and merged by `infra-admins`:
5257

5358
* Changing the [general repository settings](https://github.com/rust-lang/team/blob/master/docs/toml-schema.md#general-repository-settings)
5459
* This includes granting bots access to the repository.
5560
* Changing the [repository branch protections](https://github.com/rust-lang/team/blob/master/docs/toml-schema.md#repository-branch-protections)
5661

62+
<div class="warning">
5763
Granting a team write access to `rust-lang/rust` requires approval from both an
5864
`infra-admin` and a `team-repo-admin` as that repository is particularly
5965
sensitive.
66+
</div>
6067

6168
### Source code changes
6269

0 commit comments

Comments
 (0)