File tree Expand file tree Collapse file tree 4 files changed +10
-0
lines changed
Api/AdminConsole/Controllers Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 1
1
using Bit . Api . AdminConsole . Models . Request . Organizations ;
2
2
using Bit . Api . AdminConsole . Models . Response . Organizations ;
3
+ using Bit . Core ;
3
4
using Bit . Core . Context ;
4
5
using Bit . Core . Exceptions ;
5
6
using Bit . Core . Repositories ;
7
+ using Bit . Core . Utilities ;
6
8
using Microsoft . AspNetCore . Authorization ;
7
9
using Microsoft . AspNetCore . Mvc ;
8
10
9
11
namespace Bit . Api . AdminConsole . Controllers ;
10
12
13
+ [ RequireFeature ( FeatureFlagKeys . EventBasedOrganizationIntegrations ) ]
11
14
[ Route ( "organizations/{organizationId:guid}/integrations/{integrationId:guid}/configurations" ) ]
12
15
[ Authorize ( "Application" ) ]
13
16
public class OrganizationIntegrationConfigurationController (
Original file line number Diff line number Diff line change 1
1
using Bit . Api . AdminConsole . Models . Request . Organizations ;
2
2
using Bit . Api . AdminConsole . Models . Response . Organizations ;
3
+ using Bit . Core ;
3
4
using Bit . Core . Context ;
4
5
using Bit . Core . Exceptions ;
5
6
using Bit . Core . Repositories ;
7
+ using Bit . Core . Utilities ;
6
8
using Microsoft . AspNetCore . Authorization ;
7
9
using Microsoft . AspNetCore . Mvc ;
8
10
9
11
#nullable enable
10
12
11
13
namespace Bit . Api . AdminConsole . Controllers ;
12
14
15
+ [ RequireFeature ( FeatureFlagKeys . EventBasedOrganizationIntegrations ) ]
13
16
[ Route ( "organizations/{organizationId:guid}/integrations" ) ]
14
17
[ Authorize ( "Application" ) ]
15
18
public class OrganizationIntegrationController (
Original file line number Diff line number Diff line change 1
1
using System . Text . Json ;
2
2
using Bit . Api . AdminConsole . Models . Response . Organizations ;
3
+ using Bit . Core ;
3
4
using Bit . Core . AdminConsole . Entities ;
4
5
using Bit . Core . Context ;
5
6
using Bit . Core . Enums ;
6
7
using Bit . Core . Exceptions ;
7
8
using Bit . Core . Models . Data . Integrations ;
8
9
using Bit . Core . Repositories ;
9
10
using Bit . Core . Services ;
11
+ using Bit . Core . Utilities ;
10
12
using Microsoft . AspNetCore . Authorization ;
11
13
using Microsoft . AspNetCore . Mvc ;
12
14
13
15
namespace Bit . Api . AdminConsole . Controllers ;
14
16
17
+ [ RequireFeature ( FeatureFlagKeys . EventBasedOrganizationIntegrations ) ]
15
18
[ Route ( "organizations/{organizationId:guid}/integrations/slack" ) ]
16
19
[ Authorize ( "Application" ) ]
17
20
public class SlackIntegrationController (
Original file line number Diff line number Diff line change @@ -108,6 +108,7 @@ public static class FeatureFlagKeys
108
108
public const string PolicyRequirements = "pm-14439-policy-requirements" ;
109
109
public const string SsoExternalIdVisibility = "pm-18630-sso-external-id-visibility" ;
110
110
public const string ScimInviteUserOptimization = "pm-16811-optimize-invite-user-flow-to-fail-fast" ;
111
+ public const string EventBasedOrganizationIntegrations = "event-based-organization-integrations" ;
111
112
112
113
/* Auth Team */
113
114
public const string PM9112DeviceApprovalPersistence = "pm-9112-device-approval-persistence" ;
You can’t perform that action at this time.
0 commit comments