| Posted by: WUICTeam - Sunday, November 22, 2026 4:01:22 PM |
|---|
| [b]Question[/b] We run WUIC with [c]multiConnectionEnabled[/c] turned on, one database per company. Grids and forms show the right data for each user, but when a user of a secondary company opens a report in the report viewer, the records shown look like those of the main company. Is this expected? [b]Answer[/b] No, it was a bug, and it is a security issue: with multi-tenancy enabled, the report viewer could run the report queries on the main company's database instead of the database configured for the user's company, so a user could see records belonging to another company in a printed or exported report. It is fixed in version 1.8.3: reports now use the same connection rules as the rest of the application. [list] [*]Routes with no custom connection name read from the database of the user's company (both data and metadata routes). [*]Routes with a custom connection name keep using that connection, as before. [*]Single-tenant installations are not affected. [/list] All supported databases are covered (SQL Server, MySQL, PostgreSQL, Oracle). If you use multi-tenancy, we recommend updating to 1.8.3. No configuration change is needed after the update. |