GH-900 practice question 12 of 15
Which of the following are included as pre-defined repository roles? (Each answer presents a complete solution. Choose three.)
Full set: 144 questionsGitHub provides five pre-defined roles for repositories to enable granular access control: Read, Triage, Write, Maintain, and Admin. The 'Triage' role is designed for users who manage issues and pull requests without needing to push code. The 'Write' role allows users to actively contribute by pushing changes to the repository. The 'Maintain' role includes all permissions of the 'Write' role, plus the ability to manage some repository settings, such as managing releases and editing repository properties, but without the destructive capabilities of an Admin. These three are all standard, built-in repository roles.
A. Security: This is not a pre-defined repository role. Security-related permissions are part of the 'Admin' role or the distinct organization-level 'Security manager' role.
B. View: The official name for the role with read-only access is 'Read'. 'View' is not a standard role name in GitHub's permission model.
E. Delete: This is a permission (e.g., deleting a repository or a package) granted to the 'Admin' role, not a standalone role.
1. GitHub Docs. (2024). "Repository roles for an organization". GitHub Enterprise Cloud Documentation. Retrieved from https://docs.github.com/en/organizations/managing-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization. The table under the "Permissions for each role" section explicitly lists and defines the five roles: Read
Triage
Write
Maintain
and Admin.
2. Blischak
J. D.
Davenport
E. R.
& Wilson
G. (2016). A Quick Introduction to Version Control with Git and GitHub. PLOS Computational Biology
12(1)
e1004668. https://doi.org/10.1371/journal.pcbi.1004668. The section "Permissions" discusses collaborator access levels
mentioning "Read"
"Write"
and "Admin" access
which are the foundational roles from which others like Triage and Maintain are derived for more granular control.
3. Columbia University Libraries. (2024). "Managing Collaborators & Permissions". Developing and Writing Code in a Collaborative Environment using Git and GitHub. Retrieved from https://github-for-collaboration.github.io/managing-collaborators/. This university courseware outlines the different permission levels for repository collaborators
explicitly mentioning Triage
Write
and Maintain as available roles.
Keep practicing
Take the free GH-900 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other GH-900 practice questions
- Question 1What is the difference between an organization member and an outside collaborator?
- Question 2New open source contributors can receive funding from GitHub sponsors:
- Question 3An employee needs to find all issues within organization “Avocado" containing text "404 e…
- Question 4How are commits related to pull requests?
- Question 5Where should a repository admin navigate to view pre-built visualizations from repository…
- Question 6Who can be assigned to an Issue or pull request? (Each answer presents a complete solutio…
