User Tools

Site Tools


tasks:github_permissions

GitHub Permissions

When a new developer joins the team/community, they will need push access to the Ceph GitHub repos.

You need to be an Org Admin to do this.

  1. Enter the user's GitHub username

Listing All Users in All Teams

Make sure you have a github API token written to ~/.github_token

for num in {1..10}; do for url in $(curl -s -H "Accept: application/vnd.github.v3+json" -H "Authorization: token $(cat ~/.github_token)"  https://api.github.com/orgs/ceph/teams | jq '.[].url' | tr -d '"'); do curl -s -H "Accept: application/vnd.github.v3+json" -H "Authorization: token $(cat ~/.github_token)" ${url}/members | jq '.[].login' | tr -d '"'; done; done | sort | uniq
tasks/github_permissions.txt · Last modified: 2021/07/14 19:14 by djgalloway