diff --git a/source/Octopus.Client.Tests/PublicSurfaceAreaFixture.ThePublicSurfaceAreaShouldNotRegress..NETCore.approved.txt b/source/Octopus.Client.Tests/PublicSurfaceAreaFixture.ThePublicSurfaceAreaShouldNotRegress..NETCore.approved.txt index 83886105..67501743 100644 --- a/source/Octopus.Client.Tests/PublicSurfaceAreaFixture.ThePublicSurfaceAreaShouldNotRegress..NETCore.approved.txt +++ b/source/Octopus.Client.Tests/PublicSurfaceAreaFixture.ThePublicSurfaceAreaShouldNotRegress..NETCore.approved.txt @@ -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 diff --git a/source/Octopus.Client.Tests/PublicSurfaceAreaFixture.ThePublicSurfaceAreaShouldNotRegress..NETFramework.approved.txt b/source/Octopus.Client.Tests/PublicSurfaceAreaFixture.ThePublicSurfaceAreaShouldNotRegress..NETFramework.approved.txt index ec79915e..cd20560b 100644 --- a/source/Octopus.Client.Tests/PublicSurfaceAreaFixture.ThePublicSurfaceAreaShouldNotRegress..NETFramework.approved.txt +++ b/source/Octopus.Client.Tests/PublicSurfaceAreaFixture.ThePublicSurfaceAreaShouldNotRegress..NETFramework.approved.txt @@ -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 diff --git a/source/Octopus.Server.Client/Model/Permission.cs b/source/Octopus.Server.Client/Model/Permission.cs index d29680ad..5e6b7c29 100644 --- a/source/Octopus.Server.Client/Model/Permission.cs +++ b/source/Octopus.Server.Client/Model/Permission.cs @@ -127,6 +127,7 @@ public class Permission : IEquatable [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");