Skip to content

Commit

Permalink
[FEAT] Update permissions based on GitHub documentation (#2424)
Browse files Browse the repository at this point in the history
  • Loading branch information
samvdd-247 authored Jul 11, 2022
1 parent 8e6bcd1 commit f6e541d
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions Octokit/Models/Request/Permission.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,19 @@ public enum Permission
/// </summary>
[Parameter(Value = "admin")]
Admin,


/// <summary>
/// team members can manage the repository without access to sensitive or destructive actions. Recommended for project managers. Only applies to repositories owned by organizations.
/// </summary>
[Parameter(Value = "maintain")]
Maintain,

/// <summary>
/// team members can proactively manage issues and pull requests without write access. Recommended for contributors who triage a repository. Only applies to repositories owned by organizations.
/// </summary>
[Parameter(Value = "triage")]
Triage,

/// <summary>
/// team members can pull and push, but not administer these repositories
/// </summary>
Expand All @@ -27,4 +39,4 @@ public enum Permission
[Parameter(Value = "pull")]
Pull
}
}
}

0 comments on commit f6e541d

Please sign in to comment.