3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-08-18 11:15:42 +00:00

17 Commits

Author SHA1 Message Date
115d1a4f5e Rename company_id on users table 2026-07-10 14:41:47 +01:00
3611fc9df5 More FMCS scoping tests 2026-07-07 10:01:42 +01:00
77f9b49f7c Updated tests 2026-07-07 09:24:09 +01:00
b96f5664db Small FMCS fix 2026-07-07 09:18:14 +01:00
d922913add Scoping: Fixed #19187 - properly scope users within views 2026-06-15 12:18:05 +01:00
fbe05a8df4 Floater Scoping: Fixed FD-56007 - prevent exposing all null-company users to any company-scoped actor
Removed the floater branch entirely for the company-scoped-actor + users case. The floater setting only governs whether null-company users can receive assets (handled in canReceiveFromCompany()), not whether they're visible or manageable by other companies' users.
2026-06-15 10:45:30 +01:00
07e70cf7a9 Added test 2026-06-10 11:19:16 +01:00
446f5f3cef Run pint on tests 2026-03-16 17:40:57 -07:00
a6c6c7eae9 Updated tests
Signed-off-by: snipe <snipe@snipe.net>
2025-08-10 13:11:50 +01:00
3e832e5e94 Revert "Define test classes as final"
This reverts commit 95516b0343.
2024-08-06 13:31:17 -07:00
82e795b642 Revert "Add return types to test methods"
This reverts commit 83fb6826ee.
2024-08-06 13:30:34 -07:00
95516b0343 Define test classes as final 2024-08-06 20:25:22 +00:00
83fb6826ee Add return types to test methods 2024-08-06 20:25:22 +00:00
b1e92ab866 Declare data providers as static 2024-08-06 20:25:21 +00:00
96241cb67c Adopt PHP attributes in test classes 2024-08-06 20:25:21 +00:00
8003615b1f Move InteractsWithSettings to TestCase 2024-03-14 14:15:11 -07:00
6585aa0cf0 Add unit tests for company scoping 2023-06-06 16:31:14 -07:00