snipe-it/app/Http/Controllers
Daniel Meltzer e0938cf82d Scope to company when viewing assets (#2315)
* If a user doesn't belong to a company, when scoping to a company we should only show items that don't belong to a company.

* Scope tables/items to the company they belong to when fetching items for the index.

* Fix asset count to also scope to company.  This fixes dashboard view

* Exempt super users from the child company check to be consistent.  Fixes license count on dashboard now that we scope everything
2016-07-25 19:46:29 -07:00
..
Auth
AccessoriesController.php Scope to company when viewing assets (#2315) 2016-07-25 19:46:29 -07:00
AssetMaintenancesController.php
AssetModelsController.php
AssetsController.php Scope to company when viewing assets (#2315) 2016-07-25 19:46:29 -07:00
CategoriesController.php
CompaniesController.php
ComponentsController.php Scope to company when viewing assets (#2315) 2016-07-25 19:46:29 -07:00
ConsumablesController.php Scope to company when viewing assets (#2315) 2016-07-25 19:46:29 -07:00
Controller.php
CustomFieldsController.php
DashboardController.php
DepreciationsController.php
GroupsController.php
LicensesController.php Scope to company when viewing assets (#2315) 2016-07-25 19:46:29 -07:00
LocationsController.php
ManufacturersController.php
ProfileController.php
ReportsController.php
SettingsController.php Removed port stuff, since LDAP ignores it anyway :-/ 2016-07-22 16:21:16 -07:00
StatuslabelsController.php
SuppliersController.php
UsersController.php
ViewAssetsController.php