Thursday, August 29, 2024
1 change · saas-17.1
Resolved issues and error corrections
The Timesheets app now only shows employees from the companies the user is allowed to access when adding all-timesheet entries. This prevents staff from seeing or selecting employees from unrelated companies in multi-company setups.
Original PR description
Steps to reproduce: - In a multiple company environment, open Timesheets app - In All Timesheets add a line - While selecting employee we see that we get all the employees from all companies. Issue: - All the employees shouldn't be visible Cause: - An empty domain is getting passed. - Pre saas-17.1 when an empty domain is passed then we get records from within the company. - From saas-17.1 onward an empty gets every possible record. Solution: - Adding the companies to be from allowed_company_ids task-3918572