3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-12 04:45:46 +00:00
Files
snipe-it/app/Http/Controllers
Tobias Regnery 1ccbf8942c Add ability to tie locations to companies
Locations are the last big part of the application that can't be tied to companies.
This can be a problem with FullMultipleCompanySupport, because you can't restrict the visibility of locations to the company of the users.

In order to change this, add a company_id to the locations table and wire everything up in the views and controllers.
Aditionally add a new formatter to filter the locations to a specific company, like it is done for assets.

Locations are properly scoped to the users company if FullMultipleCompanySupport is enabled.
If a parent location of a location has a different company than the user, the location does not show up.
2024-11-04 10:03:37 +01:00
..
2024-10-21 16:52:21 +01:00
2024-08-18 04:51:36 +01:00
2024-09-19 17:01:17 +01:00
2024-10-21 16:52:21 +01:00
2024-10-21 16:52:21 +01:00
2024-07-04 22:37:58 +01:00
2024-08-07 18:04:39 +01:00
2024-07-04 22:37:58 +01:00
2024-07-04 22:37:58 +01:00
2024-10-02 15:48:35 +01:00
2024-07-08 17:41:20 +01:00