snipe-it/app
Daniel Meltzer e0938cf82d Scope to company when viewing assets (#2315)
* If a user doesn't belong to a company, when scoping to a company we should only show items that don't belong to a company.

* Scope tables/items to the company they belong to when fetching items for the index.

* Fix asset count to also scope to company.  This fixes dashboard view

* Exempt super users from the child company check to be consistent.  Fixes license count on dashboard now that we scope everything
2016-07-25 19:46:29 -07:00
..
Console Clearer version in footer 2016-07-21 21:39:23 -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 Helper method to introspect into the model level validation to see if the field is required 2016-07-22 00:29:23 -07:00
Http Scope to company when viewing assets (#2315) 2016-07-25 19:46:29 -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 Scope to company when viewing assets (#2315) 2016-07-25 19:46:29 -07:00
Policies Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Providers Added gates to authservice provider for finer tuned permissions 2016-06-02 02:40:49 -07:00