clients/apps/cli/src
Rui Tomé b5bddd0b06
[PM-17154] Limit item deletion feature flag removal (#15094)
* Refactor components to remove limitItemDeletion feature flag usage

This commit simplifies the logic in various components by removing the limitItemDeletion feature flag. The conditions for displaying restore and delete actions are now based solely on the cipher's permissions, enhancing code clarity and maintainability.

* Refactor cipher deletion logic to remove the feature flag and collection ID dependency

This commit updates the cipher deletion logic across multiple components and services by removing the unnecessary dependency on collection IDs. The `canDeleteCipher$` method now solely relies on the cipher's permissions, simplifying the code and improving maintainability.

* Remove LimitItemDeletion feature flag from feature-flag enum and default values

* Remove configService from ServiceContainer and MainBackground constructor parameters

* Remove configService from RestoreCommand instantiation in OssServeConfigurator and VaultProgram classes
2025-06-10 09:57:34 +01:00
..
admin-console [PM-12423] Migrate Cipher Decryption to Use SDK (#14206) 2025-05-14 07:30:01 -07:00
auth/commands fix(2fa): Update CLI to send email regardless of number of methods 2025-06-05 15:55:55 -04:00
commands [PM-17154] Limit item deletion feature flag removal (#15094) 2025-06-10 09:57:34 +01:00
key-management [PM-18017] Show key connector domain in remove password page (#14695) 2025-05-19 08:58:51 -04:00
locales/en [PM-20225] Prevent legacy users without userkey from logging in (#14267) 2025-06-02 23:56:29 +02:00
models [PM-18576] Fix missing user id on remove password (#13777) 2025-05-19 08:51:46 +02:00
platform [PM-22250] Bump open (#15011) 2025-06-06 12:06:14 +02:00
service-container [PM-17154] Limit item deletion feature flag removal (#15094) 2025-06-10 09:57:34 +01:00
tools [PM-21644] Cannot retrieve attachment from bw serve (#14806) 2025-05-22 09:15:30 -04:00
vault [PM-12423] Migrate Cipher Decryption to Use SDK (#14206) 2025-05-14 07:30:01 -07:00
base-program.ts [PM-18017] Show key connector domain in remove password page (#14695) 2025-05-19 08:58:51 -04:00
bw.ts Improve SDK direct function usage (#13353) 2025-02-26 09:08:42 +01:00
oss-serve-configurator.ts [PM-17154] Limit item deletion feature flag removal (#15094) 2025-06-10 09:57:34 +01:00
program.ts [PM-20225] Prevent legacy users without userkey from logging in (#14267) 2025-06-02 23:56:29 +02:00
register-oss-programs.ts [BEEEP: PM-10190] Use strict TS checks in CLI service container (#10298) 2024-08-05 11:39:08 -04:00
serve.program.ts [BEEEP: PM-10190] Use strict TS checks in CLI service container (#10298) 2024-08-05 11:39:08 -04:00
utils.ts [PM-21934] Upgrade to eslint 9 (#14754) 2025-05-27 13:13:15 -04:00
vault.program.ts [PM-17154] Limit item deletion feature flag removal (#15094) 2025-06-10 09:57:34 +01:00