3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-03-01 05:17:45 +00:00
Files
snipe-it/app/Http/Controllers/Api
Tobias Regnery fdcc17ca2c Fix user creation with FullMultipleCompanySupport enabled over API
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.
2024-10-16 11:47:18 +02:00
..
2024-07-05 07:07:20 +01:00
2024-09-20 14:33:26 +01:00
2024-09-19 19:56:39 +01:00
2024-07-05 07:07:20 +01:00
2024-09-19 17:20:56 +01:00
2024-07-05 07:07:20 +01:00
2024-07-05 07:07:20 +01:00
2024-09-19 17:01:48 +01:00
2024-07-05 07:07:20 +01:00
2024-07-05 07:07:20 +01:00