What this solution does
The AWZ: Property Lock module protects properties of information blocks and their sections from unwanted changes during synchronization with external systems such as 1C.
Key features include protection for information block element properties and equivalent protection for section properties. Administrators can create multiple blocking rules for different information blocks and specific fields. Rules support filtering by URL parameters, allowing activation only under specific conditions, such as exclusively during imports from 1C. User-based filtering is also available with inversion support.
The module supports blocking system fields, including Name, Code, and Parent Section.
The module operates by registering Bitrix event handlers. Before an element update, the system records the current values of protected properties and forcibly restores them after the update process completes. A similar mechanism is applied to information block sections.
Available blocking types include preventing any updates.
The module ensures property immutability during external updates. A global switch enables or disables field protection. Each blocking rule is configured with the following parameters: the information block to which the rule applies; the property symbolic code or system field; the blocking type (complete update prohibition or allowance only for empty values); URL parameters separated by &, which trigger the rule when present (e.g., for 1C integration); a comma-separated list of user IDs. An exclamation mark (!) at the beginning of the list inverts the rule, applying it to all users except those specified. System fields available for blocking include section fields (name, symbolic code, parent section) and element fields (name, symbolic code). Configuration examples include prohibiting video property updates from 1C for information block 5 by specifying request parameters, and protecting symbolic codes for all users except the administrator.
Lock type: prohibit any updates.
User ID exclusion: all users except the user with ID 1.
Access rights configuration:
- view settings;
- edit settings;
- view access rights;
- edit access rights.
General iT can install and configure this module and check how it works on your website.