mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-15 10:04:13 -08:00
fdcc17ca2c
It is currently possible as a non-superuser to create a new user or patch an existing user with arbitrary company over the API if FullMultipleCompanySupport is enabled. Altough a highly unlikely scenario as the user needs permission to create API keys and new users, it is a bug that should get fixed. Add a call to getIdForCurrentUser() to normalize the company_id if FullMultipleCompanySupport is enabled. |
||
---|---|---|
.. | ||
AccessoriesController.php | ||
AssetFilesController.php | ||
AssetMaintenancesController.php | ||
AssetModelFilesController.php | ||
AssetModelsController.php | ||
AssetsController.php | ||
CategoriesController.php | ||
CompaniesController.php | ||
ComponentsController.php | ||
ConsumablesController.php | ||
CustomFieldsController.php | ||
CustomFieldsetsController.php | ||
DepartmentsController.php | ||
DepreciationsController.php | ||
GroupsController.php | ||
ImportController.php | ||
LabelsController.php | ||
LicensesController.php | ||
LicenseSeatsController.php | ||
LocationsController.php | ||
ManufacturersController.php | ||
PredefinedKitsController.php | ||
ProfileController.php | ||
ReportsController.php | ||
SettingsController.php | ||
StatuslabelsController.php | ||
SuppliersController.php | ||
UsersController.php |