snipe-it/app/Http/Controllers
Tobias Regnery 9e1d7ffb5d Fix scope of departments for FullMultipleCompanySupport
If a user tries to view or edit a department from a different company
with FullMultipleCompanySupport enabled, there is a 403 error displayed.
Apply the correct company scope in order to only display the departments
from the own company in the departments view.

Signed-off-by: Tobias Regnery <tobias.regnery@gmail.com>
2021-07-06 09:45:46 +02:00
..
Accessories
Account
Api Fix scope of departments for FullMultipleCompanySupport 2021-07-06 09:45:46 +02:00
Assets Delete file from assets folder, not just the ref. (#9525) 2021-05-04 22:18:22 -07:00
Auth Update LoginController.php 2021-05-25 16:37:34 -07:00
Components
Consumables
Kits
Licenses Add new StorageHelper and use it where it makes sense (#9276) 2021-03-15 12:26:39 -07:00
Users Added the 'required' attribute to the input file n the upload file form modal. Added a validation for the UserFilesController if the user doesn't select any file to upload [ch16471]. 2021-05-27 15:48:13 -05:00
ActionlogController.php
AssetMaintenancesController.php
AssetModelsController.php
BulkAssetModelsController.php
CategoriesController.php
CheckInOutRequest.php
CompaniesController.php
Controller.php
CustomFieldsController.php Check that the field is valid before checking to see count() 2021-04-20 15:10:28 -07:00
CustomFieldsetsController.php
DashboardController.php
DepartmentsController.php
DepreciationsController.php
GroupsController.php
HealthController.php
ImportsController.php
LocationsController.php Added missing use statement 2021-04-30 14:52:08 -07:00
ManufacturersController.php Fixes #8918 The validation rules on Manufacturer Model 'name' attribute are malformed. (#9133) 2021-02-16 12:52:55 -08:00
ModalController.php
ProfileController.php Add a way for a user to override the site skin setting + fix mislabeled comment. (#6891) 2021-03-29 19:09:23 -07:00
ReportsController.php Changed the orderBy clause inside the custom reports function that forms the CSV to be 'id' so making it a unique value and don't causes repeated items. [ch14587] (#9535) 2021-05-04 23:50:02 -07:00
SettingsController.php Merge branch 'develop' of https://github.com/Skywalker-11/snipe-it into Skywalker-11-develop 2021-04-14 15:15:07 -07:00
StatuslabelsController.php
SuppliersController.php
ViewAssetsController.php