Requesting Access
How to request access to a GitHub team via P0
Requesting from Slack
Open up the p0 request modal by typing the command /p0 request
in any Slack channel and select GitHub as the resource.
Under Team, start typing the name of the team you would like to be added to. As you type, suggestions will appear in a dropdown. Select the team that you need access to in the dropdown.
Optionally, enter a reason for the request under Reason access is needed, and/or specify a requested duration of access under Requested access duration. Finally, click the Request button.
Once you submit the request, you will get a Slack message from the P0 bot confirming your request creation. The P0 bot will also send a message to the approvers in the Slack channel designated by your org admin.
If your request is approved, you will receive a message from the P0 bot saying that your access has been granted and letting you know when it will expire. You will be automatically added to the GitHub team you requested.
If you are on-call (on a PagerDuty schedule), and your org admin has enabled PagerDuty routing, your access may be automatically approved for 1 hour.
After your request is approved, you'll see a "relinquish" button on the Slack message from the p0 bot. You can optionally use this button to let go of your access early if you finish what you want to do before the expiration time. This will revoke the access, and you must make another request if you need it again.
If you wait for the access to expire, you will get a message that it has expired once it does.
If your request is denied, you'll receive a message.
GitHub teams can be granted various roles for the organization that contains them as well as the various repositories owned by the organization. This makes them roughly analogous to groups in other IAM systems. You are encouraged to create least-privilege teams for use with P0. For more information, please see GitHub's documentation, Roles in an organization.
Note that the GitHub integration does not presently support team membership roles. All users are added to teams with the "member" role, which does not grant any ability to modify the team itself.
Last updated