From f6e541d616f884d0458883c8a70c716b9c69133f Mon Sep 17 00:00:00 2001 From: samvdd-247 <79514502+samvdd-247@users.noreply.github.com> Date: Mon, 11 Jul 2022 18:00:00 +0200 Subject: [PATCH] [FEAT] Update permissions based on GitHub documentation (#2424) --- Octokit/Models/Request/Permission.cs | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/Octokit/Models/Request/Permission.cs b/Octokit/Models/Request/Permission.cs index 0f5ea6c8..8e5eca5c 100644 --- a/Octokit/Models/Request/Permission.cs +++ b/Octokit/Models/Request/Permission.cs @@ -14,7 +14,19 @@ namespace Octokit /// [Parameter(Value = "admin")] Admin, - + + /// + /// team members can manage the repository without access to sensitive or destructive actions. Recommended for project managers. Only applies to repositories owned by organizations. + /// + [Parameter(Value = "maintain")] + Maintain, + + /// + /// 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. + /// + [Parameter(Value = "triage")] + Triage, + /// /// team members can pull and push, but not administer these repositories /// @@ -27,4 +39,4 @@ namespace Octokit [Parameter(Value = "pull")] Pull } -} \ No newline at end of file +}