snipe-it/app
Daniel Meltzer a852c624d3 Fix 2347 (#2394)
* Prevent multiple checkouts of the same asset.

This adds a new method to the Asset model, availableForCheckout.
Port getDataTable to use availableForCheckout instead of doing the
check manually.

Fixes Issue #2347

* Use availableForCheckout in categories controller.  Also gate the checkin/checkout actions here.

* Use gate and availableForCheckout in manufactuers as well.
2016-08-16 13:02:42 -07:00
..
Console Skip email if no email domain is given 2016-08-02 12:30:02 -07:00
Events Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Exceptions Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Helpers Added helper for imports 2016-08-12 16:01:45 -07:00
Http Fix 2347 (#2394) 2016-08-16 13:02:42 -07:00
Jobs Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Listeners Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Models Fix 2347 (#2394) 2016-08-16 13:02:42 -07:00
Policies Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Providers Fixes #2406 - added missing gate for assets.edit 2016-08-09 16:38:43 -07:00