Support `pull-request-untrusted` roles
Categories
(Release Engineering :: Firefox-CI Administration, enhancement)
Tracking
(Not tracked)
People
(Reporter: ahal, Assigned: ahal)
References
Details
Attachments
(2 files, 1 obsolete file)
Taskcluster has a new pullRequests policy called public_restricted.
It is a middle ground between the public policy (non-collaborator pull requests can run everything) and the collaborators policy (non-collaborator pull requests can run nothing). When the public_restricted policy is used, non-collaborator pull requests will assume a separate role from collaborator pull requests. The former will have -untrusted appended to the end of the role name.
In this way, it's possible to assign separate scopes to the two types of pull requests. Thus allowing us to block sensitive scopes for untrusted pull requests without blocking tasks that are otherwise safe to run (e.g, builds and tests).
This bug will implement support for these new pull-request-untrusted roles in ci-admin.
| Assignee | ||
Comment 1•4 years ago
|
||
Taskcluster has a new pullRequests policy called public_restricted.
It is a middle ground between the public policy (non-collaborator pull requests
can run everything) and the collaborators policy (non-collaborator pull
requests can run nothing). When the public_restricted policy is used,
non-collaborator pull requests will assume a separate role from collaborator
pull requests. The former will have -untrusted appended to the end of the role
name.
In this way, it's possible to assign separate scopes to the two types of pull
requests. Thus allowing us to block sensitive scopes for untrusted pull
requests without blocking tasks that are otherwise safe to run (e.g, builds and
tests).
| Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
| Assignee | ||
Comment 3•3 years ago
|
||
Depends on D157493
| Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Description
•