1
0
mirror of https://github.com/IRPTeam/IRP.git synced 2025-09-16 08:56:27 +02:00
Go to file
Dmitry Sherstobitov 58bd2e12c1 #SDR-418 Add secure data storage for integration settings (#2846)
* #SDR-418 Add secure data storage for integration settings

Introduces secure storage for sensitive integration settings via a new information register and module. Adds the StoreInSecureStorage attribute to IntegrationSettings, updates forms and logic to support storing and retrieving hidden values securely, and configures roles and access rights for secure data management.

* Fix typo and add SecureDataStorage access key module

Corrects the typo 'PalceHolder' to 'PlaceHolder' in SecureDataStorage modules and updates all references. Adds ManagerModule for SecureDataStorage information register with GetAccessKey function. Excludes SecureDataStorage from access key checks in Unit_AccessSubsystem.

* Restrict SecureDataStorage read access for roles

Added or updated read rights for InformationRegister.SecureDataStorage in multiple role definitions, setting access to true but restricting it with a WHERE FALSE condition to effectively deny access. This change standardizes the handling of SecureDataStorage read permissions across BasicRole, FullAccess, FullAccessNoAdminFunctions, and FullAccessOnlyRead roles.

* Update _2000LoadCurrencyRate.feature

* Update connection setting retrieval in FillByDefaultAtServer

Replaced GetConnectionSetting() with IntegrationServer.ConnectionSettingTemplate using Object.IntegrationType and Object to obtain connection settings. This change ensures the correct template is used based on the integration type.

* Rename parameter in Unit_SendRequestClientServer

Changed the parameter name from ConnectionSetting to ConnectionSettingData in Unit_SendRequestClientServer and assigned its Value to ConnectionSetting. This clarifies the source of the connection settings and improves code readability.

* Handle ConnectionSettingData without Value property

Updated Unit_SendRequestClientServer to support cases where ConnectionSettingData may not have a Value property or is not a Structure. This improves robustness when handling different types of input for connection settings.

* Exclude SecureDataStorage from tree population

Updated the FillTree procedure to skip the InformationRegisters.SecureDataStorage entry when populating the tree. This prevents SecureDataStorage from being included in the form's metadata tree.

---------

Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2025-08-08 17:37:07 +03:00
2023-05-03 08:42:39 -07:00
2024-01-22 16:13:28 +02:00
2023-03-14 22:08:46 +03:00

Master: Quality Gate Status Code lines Allure TotalTest FailedTest Demo DB Coverage

Develop: Quality Gate Status Code lines Allure TotalTest FailedTest Demo DB

IRP Core

Программное решение "IRP" предназначено для автоматизации товарного учета, оптовой торговли и финансовых операций.

Доступ в тестовую базу:

Тестовую базу можно скачать в релизах.

Логин: CI

Пароль: CI

Лицензия

Разрешается использовать только в ознакомительных (в том числе обучение) и не коммерческих целях. По всем остальным вопросам - можно связаться с нами по почте info@irpteam.com

Description
Languages
1C Enterprise 100%