Outside collaborators cannot be added to a team because team membership is restricted to members of the organization. Therefore, there are three options for providing temporary access to third parties for the purpose of a security assessment:
- Team Membershup approach (Open). Add the third party as a member of an organization with "Read" baseline "Member privileges". The advantage of this approach is that it gives blanket read access to everything without having to configure each repository independently. The disadvantage is that it may provide more access than is necessary.
- Team Membership approach (Restricted). Add the third party as a member of an organization with "No permission" baseline "Member privileges" and assign them to a restricted team. The advantage of this approach is that teams make it easy to add and remove people as needed without setting permissions every time. The disadvantage is that it removes global read access for all members, which must be restored by explicitely configuring each repository.
- Outside Collaborator approach. Manage the third party's access independently for each repository as an outside collaborator. The advantage of this is that it is very restrictive and there is limited potential for granting accidental access to other repositories. The disadvantage is that it requires explicit access management for each collaborator added.
- On the organization "Settings" page, in the "Member privileges" section, set the "Base permissions" to "Read".
- WARNING! Any change to "Member privileges" will affect the access of every current member of the organization.
- On the organization's "People" page, click "Invite member" to invite the third party.
- Verify access permissions on the organization's "People" page by selecting the newly added member.
- On the organization "Settings" page, in the "Member privileges" section, set the "Base permissions" to "No permission".
- WARNING! Any change to "Member privileges" will affect the access of every current member of the organization.
- On the organization's "Teams" page, create a new team called "Reviewers".
- On the "Reviewers" team page, click "Add a member" to invite the third party, or to add an existing member to the team if the third party has already been invited. Members added this way will be automatically added to the team.
- On the repository's "Settings" page, in the "Collaborators and teams" section, click "Add teams" and add the "Reviewers" team to the repository with the "Read" role.
- Verify access permissions on the organization's "People" page by selecting a member.
- On the repository's "Settings" page, in the "Collaborators and teams" section, click "Add people" to invite the third party with the "Read" role.
- Verify access permissions on the organization's "People" page by selecting the newly added outside collaborator.