Projects:Cross Organization Reference/QA
Performance
The implementation of this project does not impact performance in regular operation:
- Additional checks are only performed in case of context being in the new setCrossOrgReferenceAdminMode. Even being in this mode, information to know whether cross org reference is allowed is kept in memory model so there is no practical impact.
- In memory model has been extended to include per column information to know whether it's allowed to define cross org references.
- Model's memory footprint is therefore slightly bigger, not being appreciable (1 extra boolean field per column).
- Time to load model is not increased as this information is loaded in the same already existing query.
Test cases
Test cases have been automated by org.openbravo.test.security.ExplicitCrossOrganizationReference
class. Previos behavior has been guaranteed by org.openbravo.test.security.StandardCrossOrganizationReference
.