diff --git a/apps/web/src/app/admin-console/organizations/shared/components/access-selector/access-selector.component.ts b/apps/web/src/app/admin-console/organizations/shared/components/access-selector/access-selector.component.ts index 3d70ee18df..08381b7368 100644 --- a/apps/web/src/app/admin-console/organizations/shared/components/access-selector/access-selector.component.ts +++ b/apps/web/src/app/admin-console/organizations/shared/components/access-selector/access-selector.component.ts @@ -59,7 +59,7 @@ export class AccessSelectorComponent implements ControlValueAccessor, OnInit, On /** * Updates the enabled/disabled state of provided row form group based on the item's readonly state. * If a row is enabled, it also updates the enabled/disabled state of the permission control - * based on the item's accessAllItems state and the current value of `permissionMode`. + * based on the current value of `permissionMode`. * @param controlRow - The form group for the row to update * @param item - The access item that is represented by the row */ @@ -74,7 +74,7 @@ export class AccessSelectorComponent implements ControlValueAccessor, OnInit, On controlRow.enable(); // The enable() above also enables the permission control, so we need to disable it again - // Disable permission control if accessAllItems is enabled or not in Edit mode + // Disable permission control if not in Edit mode if (this.permissionMode != PermissionMode.Edit) { controlRow.controls.permission.disable(); } diff --git a/apps/web/src/locales/en/messages.json b/apps/web/src/locales/en/messages.json index 5fd5065b5b..9f1d15f648 100644 --- a/apps/web/src/locales/en/messages.json +++ b/apps/web/src/locales/en/messages.json @@ -2799,12 +2799,6 @@ "accessControl": { "message": "Access control" }, - "groupAccessAllItems": { - "message": "This group can access and modify all items." - }, - "groupAccessSelectedCollections": { - "message": "This group can access only the selected collections." - }, "readOnly": { "message": "Read only" }, @@ -2850,12 +2844,6 @@ "userUsingTwoStep": { "message": "This user is using two-step login to protect their account." }, - "userAccessAllItems": { - "message": "This user can access and modify all items." - }, - "userAccessSelectedCollections": { - "message": "This user can access only the selected collections." - }, "search": { "message": "Search" }, diff --git a/bitwarden_license/bit-web/src/app/secrets-manager/shared/access-policies/access-policy-selector/access-policy-selector.component.ts b/bitwarden_license/bit-web/src/app/secrets-manager/shared/access-policies/access-policy-selector/access-policy-selector.component.ts index e8e17fd83b..bf0091b619 100644 --- a/bitwarden_license/bit-web/src/app/secrets-manager/shared/access-policies/access-policy-selector/access-policy-selector.component.ts +++ b/bitwarden_license/bit-web/src/app/secrets-manager/shared/access-policies/access-policy-selector/access-policy-selector.component.ts @@ -37,8 +37,6 @@ export class AccessPolicySelectorComponent implements ControlValueAccessor, OnIn /** * Updates the enabled/disabled state of provided row form group based on the item's readonly state. - * If a row is enabled, it also updates the enabled/disabled state of the permission control - * based on the item's accessAllItems state and the current value of `permissionMode`. * @param controlRow - The form group for the row to update * @param item - The access item that is represented by the row */