Discover the specific permission needed to grant a user the ability to add and remove organization members to and from a team in GitHub. Learn about the role of a team maintainer and how it differs from other permissions like repository admin, repository maintain, and organization billing manager.
Table of Contents
Question
You want to grant a user the permissions required to add and remove organization members to and from a team. Which permission would you need to grant that user?
A. The admin permission on a repository
B. The maintain permission on a repository
C. Organization billing manager
D. Team maintainer
Answer
D. Team maintainer
Explanation
As a team maintainer, the user can add and remove organization members to and from a team.
To grant a user the permissions required to add and remove organization members to and from a team, you would need to assign them the role of a “Team maintainer” (Option D).
A team maintainer has the following permissions:
- Change the team’s name and description
- Change the team’s visibility
- Add organization members to the team
- Remove organization members from the team
- Promote an existing team member to team maintainer
- Remove the team’s access to repositories
- Manage code review assignment settings for the team
- Manage scheduled reminders for the team
The other options mentioned do not grant the specific permission to add and remove organization members to and from a team:
- Option A: The “admin” permission on a repository allows a user to have full control over a specific repository, but it does not grant them permissions to manage team memberships.
- Option B: The “maintain” permission on a repository gives a user the ability to manage repository settings, branches, and collaborators, but it does not include managing team memberships.
- Option C: An “Organization billing manager” has permissions to manage the billing settings for an organization, such as updating payment information and viewing billing history. However, this role does not have the authority to manage team memberships.
In summary, to allow a user to add and remove organization members to and from a team in GitHub, you must grant them the “Team maintainer” permission. This role provides the necessary permissions to manage team memberships and settings, which are distinct from repository-specific permissions or organization billing management.
GitHub Administration certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the GitHub Administration exam and earn GitHub Administration certification.