From 6720f718eb2e244280989f8bfbcd24372475209a Mon Sep 17 00:00:00 2001 From: Ayrris Aunario Date: Mon, 1 Apr 2024 16:54:20 -0500 Subject: [PATCH] `record-type` fix: allow any record-type w/ scope = RT_ENTERPRISE to be deleted / modified (synonymous w/ custom record-tpe) --- keepercommander/commands/recordv3.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/keepercommander/commands/recordv3.py b/keepercommander/commands/recordv3.py index 3d7df1be3..47aa79516 100644 --- a/keepercommander/commands/recordv3.py +++ b/keepercommander/commands/recordv3.py @@ -1032,9 +1032,8 @@ def execute(self, params, **kwargs): enterprise_rt_id_max = enterprise_rt_id_min + num_rts_per_scope is_enterprise_rt = enterprise_rt_id_min < rtid <= enterprise_rt_id_max real_type_id = rtid % num_rts_per_scope - is_custom_rt = real_type_id > 1000 - if not is_enterprise_rt or not is_custom_rt: + if not is_enterprise_rt: logging.error('Only custom record types can be modified or removed') return