Fine-grained PAT organization all repositories access question #110652
-
If I create a fine-grained personal access token (the new/beta PAT), select an organization as the resource owner, and select "all repositories", does it mean all repositories owned by that organization? Or just all repositories under that organization that my account has access to (as managed via repo-level settings)? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Consider marking this answer if it helps 💖 |
Beta Was this translation helpful? Give feedback.
When you create a fine-grained personal access token (PAT) in GitHub and select an organization as the resource owner with the "all repositories" scope, it means all repositories owned by that organization. This includes both public and private repositories owned by the organization.
However, the permissions granted by a PAT are subject to the actual access levels your account has for each repository within the organization. If your account doesn't have access to a specific repository (for example, if it's a private repository and you don't have access permissions), the PAT won't grant you access to that repository.
In summary, when you generate a fine-grained PAT with the "all repo…