snipe-it/app/Http/Controllers/Api
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
..
AccessoriesController.php issue #9422 - pivot ID was being used as a user_id (#9512) 2021-05-04 22:27:01 -07:00
AssetMaintenancesController.php
AssetModelsController.php Fixed #9085 - asset models not showing proper pagination 2021-02-25 16:43:38 -08:00
AssetsController.php Added event to trigger the notification. 2021-06-08 13:16:13 -05:00
CategoriesController.php Clean up Transformers and extract an isDeletable() method to models where it makes sense. 2020-05-23 15:24:10 -04:00
CompaniesController.php Clean up Transformers and extract an isDeletable() method to models where it makes sense. 2020-05-23 15:24:10 -04:00
ComponentsController.php Components checkin/checkout via API 2021-06-30 01:02:44 -07:00
ConsumablesController.php Fixed [ch15085] - duplicate use statements in Consumables controller 2020-09-03 19:47:15 -07:00
CustomFieldsController.php Handle regex format when assigned from API (#9443) 2021-04-20 14:44:47 -07:00
CustomFieldsetsController.php
DepartmentsController.php Fix scope of departments for FullMultipleCompanySupport 2021-07-06 09:45:46 +02:00
DepreciationsController.php Depreciation detail view fixes [ch15776] (#9059) 2021-01-27 17:44:05 -08:00
GroupsController.php
ImportController.php Added user locale to REST API GET /api/users response; (#9486) 2021-04-23 12:09:00 -07:00
LicensesController.php Added #6695: add API endpoint for license seats (#8058) 2021-03-29 19:41:26 -07:00
LicenseSeatsController.php fix LicenseSeatsController method documentation (#9584) 2021-05-14 16:14:32 -07:00
LocationsController.php Fixes ternary that sets the offset in 0 when the offset passed to the API for the user is greater than total locations. (#9210) 2021-02-26 12:56:04 -08:00
ManufacturersController.php Clean up Transformers and extract an isDeletable() method to models where it makes sense. 2020-05-23 15:24:10 -04:00
PredefinedKitsController.php
ProfileController.php
ReportsController.php Fixed signature issue on accepted assets - related to #8577 2020-10-22 23:20:55 -07:00
SettingsController.php Changed debug level on bad LDAP connection (#9314) 2021-03-17 19:24:28 -07:00
StatuslabelsController.php Fixed #9745 - added searchable, sortable notes field to status labels 2021-06-28 11:52:57 -07:00
SuppliersController.php
UsersController.php Added user locale to REST API GET /api/users response; (#9486) 2021-04-23 12:09:00 -07:00