Fix data root user test
Description:
Test case: The integration tester creates a new data group, and we verify that the data root user has access to records that use the newly created group in the ACL.
Due to group caching, the integration test user, not the data root user, could not create a record with the new group in the ACL during test data preparation, causing the test to fail.
Adjustment for compatibility with group caching: Record manipulations will now be performed directly by the data root user, who consistently has access to records regardless of group caching.
How to test:
Does functionality was tested and how?
Changes include:
-
Refactor (a non-breaking change that improves code maintainability). -
Bugfix (a non-breaking change that solves an issue). -
New feature (a non-breaking change that adds functionality). -
Breaking change (a change that is not backward-compatible and/or changes current functionality).
Changes in:
-
Common code
Dev Checklist:
-
Added Unit Tests, wherever applicable. -
Updated the Readme, if applicable. -
Existing Tests pass -
Verified functionality locally -
Self Reviewed my code for formatting and complex business logic.
Other comments:
Any comments to approvers here
Edited by Rustam Lotsmanenko (EPAM)