Fabrikam uses a GitHub Team organization. All repositories are private, and the organization's base permission gives members no access to repositories. Priya and Omar are organization members with no other roles or repository access. They need the following access:
- Priya, a project manager, must be able to manage the
apprepository, but she must not be able to delete it or change its repository permissions. - Omar, a security reviewer, must be able to read all repositories in the organization, but he must not be able to delete repositories.
Which access assignment meets the requirements for both Priya and Omar?
Maintain lets Priya manage app without granting permission administration or repository deletion privileges. The security manager role gives Omar read access across all repositories, while the organization owner role would also allow deletion. The moderator role does not grant the private repository access Omar requires.
- Not correct: Priya: Maintain role on app; Omar: organization owner role. Organization owners have full repository privileges, including deletion, which violates Omar's restriction.
- Not correct: Priya: Admin role on app; Omar: security manager role. Admin grants full repository privileges, including changing repository permissions and deleting the repository, which violates Priya's restrictions.
- Not correct: Priya: Maintain role on app; Omar: organization moderator role. Organization moderators can moderate public repository comments, but the role does not grant access to these private repositories. Omar receives no repository access from the base permission.
- Correct: Priya: Maintain role on app; Omar: security manager role. Maintain supports repository management without sensitive administrative or destructive privileges. Security managers receive read access across the organization without the repository deletion privileges of organization owners.