Trace a person's effective access
Follow one user from their identity provider to the repository. Record how they authenticate, how their account is provisioned and which membership grants the requested action.
Distinguish sign-in from effective permission
A publisher uses Enterprise Cloud with personal accounts. Connecting an identity through SAML lets the enterprise enforce its sign-in requirements. A successful sign-in alone grants no repository role. Enterprise Managed Users have a different lifecycle: the identity provider provisions managed accounts, and the enterprise controls them. Check the identity provider's supported integration, provisioning logs and group mappings. SCIM manages the identity lifecycle. Team synchronization maps group membership to teams. Two-factor authentication strengthens sign-in; it does not decide which repositories a user may administer.
For a permission review, start with the enterprise and organization policies. Inspect organization base permissions, team access, direct grants, custom roles where applicable and outside collaborators. A person can inherit a stronger grant along a second path. An enterprise team can centralize membership used across organizations; verify how it is assigned in each organization. Record the effective permission and its source before changing it.
During a transfer, ask two questions in order: can the employee authenticate to the enterprise, and what can that identity do on this repository? Use an administrator-approved view of effective access instead of inferring permissions from an old invitation. For managed identities, confirm what deprovisioning does to the account before removing an individual repository grant.
Worked case 1
An engineer was removed from the release team but can still push to the repository.
Check your reasoning
Inspect direct write access and grants through other teams or the organization base permission. Remove the unintended path and verify effective access with the repository administrator. Re-enforcing SSO would only repeat authentication.
Worked case 2
A new managed employee exists in the directory but has no GitHub account. Another has an account but cannot triage issues.
Check your reasoning
Check provisioning and assignment for the first employee. For the second, inspect mapped memberships and the repository role. Those failures occur at different steps in the access chain.
Find the surviving grant
This Python 3 exercise models standard repository roles and two example grant paths. Predict access after each removal. Real reviews also need organization base permissions, other teams and any custom roles.
roles = ["none", "read", "triage", "write", "maintain", "admin"]
grants = {"release-team": "write", "direct": "write", "base": "read"}
def effective():
return max(grants.values(), key=roles.index)
print(effective())
del grants["release-team"]
print(effective())
del grants["direct"]
print(effective())
Check your output
The three results are write, write and read. The second write is explained by the direct grant. Change that grant to triage and predict the outcome before rerunning.
GitHub documentation · GH-100 skills outline
Related lesson in GitHub Foundations. Separate identity, read access and merge authority.
Practice with the recording
A contractor can sign in through the identity provider but cannot read a private repository. What should the administrator check next?
Check your reasoning
Trace the account’s organization membership, team membership and repository role. SSO proves identity for a session, while provisioning and team synchronization affect which grants exist. Check the user’s effective access after synchronization completes.
Access review
For a personal account and an Enterprise Managed User, identify the account owner, authentication method, provisioning mechanism and repository grant. Test removing team membership and removing the identity separately. Record the actor and evidence needed to revoke the last surviving grant.
Trace a person's effective access quiz
Answer 3 questions. Check each answer for an explanation.