clients/libs/angular/src/admin-console
Jared 79c6b51599
[PM-26383] Remove feature flag to enable autoconfirm (#20015)
* Refactor: Remove ConfigService dependency from auto-confirm related components

- Eliminated ConfigService from MainBackground, AutoConfirmPolicy, UserLayoutComponent, WebVaultPromptService, and organizationPolicyGuard.
- Updated logic to directly use organization properties instead of feature flags for auto-confirm functionality.
- Adjusted tests in DefaultAutomaticUserConfirmationService to reflect the removal of feature flag checks.
- Cleaned up unused imports related to ConfigService across various files.

* Refactor: Update date handling in tests and remove unused feature flag checks

- Changed date calculation in WebVaultExtensionPromptService tests to use milliseconds for accuracy.
- Removed unused feature flag checks from WebVaultPromptService tests, simplifying the logic and improving clarity.

* Refactor: Update organizationPolicyGuard to include ConfigService in feature callback

- Modified the organizationPolicyGuard to accept ConfigService as an additional parameter in the feature callback.
- Adjusted the SendComponent route to align with the updated guard implementation.

* Fix: Adjust date calculation in WebVaultExtensionPromptService tests for accuracy

- Updated the test to set the exact date to 30 days prior using setDate method for clarity and to avoid potential issues with DST boundaries.
2026-04-09 15:36:38 -04:00
..
guards [PM-26383] Remove feature flag to enable autoconfirm (#20015) 2026-04-09 15:36:38 -04:00
validators Typescript-strict-plugin (#12235) 2024-12-09 20:58:50 +01:00