@itilite/iui-user-management 0.4.69 → 0.4.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6951,6 +6951,9 @@ var UserAddEdit = function UserAddEdit(props) {
6951
6951
  if (p.id === 3 && !isCardsAdmin && !isProfile) {
6952
6952
  p.readOnly = true;
6953
6953
  p.disableText = "Only card admin can change this access.";
6954
+ } else if (p.id === 3 && editUserId === (id === null || id === void 0 ? void 0 : id.toString())) {
6955
+ p.readOnly = true;
6956
+ p.disableText = "You cannot update your own card product";
6954
6957
  }
6955
6958
  return /*#__PURE__*/React.createElement(IUIGrid, {
6956
6959
  item: true,