mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
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. |
||
---|---|---|
.. | ||
Accessories | ||
Account | ||
Api | ||
Assets | ||
Auth | ||
Components | ||
Consumables | ||
Kits | ||
Licenses | ||
Users | ||
ActionlogController.php | ||
AssetMaintenancesController.php | ||
AssetModelsController.php | ||
AssetModelsFilesController.php | ||
BulkAssetModelsController.php | ||
CategoriesController.php | ||
CheckInOutRequest.php | ||
CompaniesController.php | ||
Controller.php | ||
CustomFieldsController.php | ||
CustomFieldsetsController.php | ||
DashboardController.php | ||
DepartmentsController.php | ||
DepreciationsController.php | ||
GoogleAuthController.php | ||
GroupsController.php | ||
HealthController.php | ||
LabelsController.php | ||
LocationsController.php | ||
ManufacturersController.php | ||
ModalController.php | ||
ProfileController.php | ||
ReportsController.php | ||
SettingsController.php | ||
StatuslabelsController.php | ||
SuppliersController.php | ||
ViewAssetsController.php |