Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prioritize task permission #887

Merged
merged 2 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4388,6 +4388,7 @@ Octopus.Client.Model
static Octopus.Client.Model.Permission TaskCancel
static Octopus.Client.Model.Permission TaskCreate
static Octopus.Client.Model.Permission TaskEdit
static Octopus.Client.Model.Permission TaskPrioritize
static Octopus.Client.Model.Permission TaskView
static Octopus.Client.Model.Permission TaskViewLog
static Octopus.Client.Model.Permission TeamCreate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4408,6 +4408,7 @@ Octopus.Client.Model
static Octopus.Client.Model.Permission TaskCancel
static Octopus.Client.Model.Permission TaskCreate
static Octopus.Client.Model.Permission TaskEdit
static Octopus.Client.Model.Permission TaskPrioritize
static Octopus.Client.Model.Permission TaskView
static Octopus.Client.Model.Permission TaskViewLog
static Octopus.Client.Model.Permission TeamCreate
Expand Down
1 change: 1 addition & 0 deletions source/Octopus.Server.Client/Model/Permission.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ public class Permission : IEquatable<Permission>

[Description("Edit server tasks")] [SupportsRestriction(PermissionScope.Projects, PermissionScope.Environments, PermissionScope.Tenants)] public static readonly Permission TaskEdit = new Permission("TaskEdit");

[Description("Create deployments that are prioritized")] public static readonly Permission TaskPrioritize = new("TaskPrioritize");

[Description("View interruptions generated during deployments")] [SupportsRestriction(PermissionScope.Projects, PermissionScope.Environments, PermissionScope.Tenants, ExplicitTenantScopeRequired = true)] public static readonly Permission InterruptionView = new Permission("InterruptionView");

Expand Down
Loading