Darko Gjorgjijoski
7d9fdb79cc
Scope users listing and search to current company ( #607 )
...
Add scopeWhereCompany() to User model using whereHas through the
user_company pivot table. Apply it in UsersController::index() and
SearchController so users only see members of their current company.
Previously, the users page showed ALL users across all companies.
Ref #574
2026-04-03 14:34:33 +02:00
..
2024-06-05 11:33:52 +02:00
2025-01-12 13:32:47 +01:00
2024-06-05 11:33:52 +02:00
2024-06-05 11:33:52 +02:00
2024-06-05 11:33:52 +02:00
2024-06-05 12:07:46 +02:00
2024-06-05 11:33:52 +02:00
2024-06-05 11:33:52 +02:00
2024-10-15 20:51:17 +02:00
2026-03-21 19:14:51 +01:00
2024-06-05 11:33:52 +02:00
2024-06-05 11:33:52 +02:00
2024-06-05 11:33:52 +02:00
2026-03-21 18:59:53 +01:00
2024-06-05 11:33:52 +02:00
2025-09-19 15:42:53 +02:00
2026-03-24 06:36:47 +01:00
2024-06-05 11:33:52 +02:00
2026-03-21 18:59:53 +01:00
2024-06-05 11:33:52 +02:00
2024-06-05 11:33:52 +02:00
2026-03-21 19:14:51 +01:00
2024-06-05 11:33:52 +02:00
2026-03-21 18:53:33 +01:00
2025-01-12 18:37:08 +01:00
2025-05-04 02:24:56 +02:00
2025-05-04 02:24:56 +02:00
2026-03-21 18:53:33 +01:00
2024-06-05 11:33:52 +02:00
2026-04-03 14:34:33 +02:00
2024-06-05 11:33:52 +02:00