Skip to content

Commit

Permalink
Added security tasks feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
gbubemismith committed Dec 12, 2024
1 parent 7244943 commit aff0d12
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Api/Vault/Controllers/SecurityTaskController.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using Bit.Api.Models.Response;
using Bit.Api.Vault.Models.Response;
using Bit.Core;
using Bit.Core.Services;
using Bit.Core.Utilities;
using Bit.Core.Vault.Enums;
using Bit.Core.Vault.Queries;
using Microsoft.AspNetCore.Authorization;
Expand All @@ -10,6 +12,7 @@ namespace Bit.Api.Vault.Controllers;

[Route("tasks")]
[Authorize("Application")]
[RequireFeature(FeatureFlagKeys.SecurityTasks)]
public class SecurityTaskController : Controller
{
private readonly IUserService _userService;
Expand Down

0 comments on commit aff0d12

Please sign in to comment.