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 questions
Answer options
A: Security
B: View
C: Triage Correct answer
D: Maintain Correct answer
E: Delete
F: Write Correct answer
Correct Answer:
C. Triage; D. Maintain; F. Write
Explanation

GitHub 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.

Why Incorrect

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.

References

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.

Scroll to Top