snipe-it/app/Policies
snipe 7b33f95e83
Fixes/import permissions mask (#6826)
* Check for empty headers in import

* Added import permission

* Fixed model path in docblock

* Added import gate to default blade

* Check if the user is an admin OR idf they have import permissions

* Walked back that admin permission

Since admins are bound by full company support, it makes less sense to let admins have this permission by default, versus having them specifically designated to the import permission
2019-03-18 11:58:08 -07:00
..
.gitkeep Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
AccessoryPolicy.php Add missing policies (#4330) 2017-10-27 18:01:11 -07:00
AssetModelPolicy.php Add missing policies (#4330) 2017-10-27 18:01:11 -07:00
AssetPolicy.php Applied master changes to develop 2018-02-21 15:51:04 -08:00
CategoryPolicy.php Add missing policies (#4330) 2017-10-27 18:01:11 -07:00
CheckoutablePermissionsPolicy.php Add missing policies (#4330) 2017-10-27 18:01:11 -07:00
CompanyPolicy.php Added Company policy to fix company deletion issue 2018-01-19 17:51:28 -08:00
ComponentPolicy.php Add missing policies (#4330) 2017-10-27 18:01:11 -07:00
ConsumablePolicy.php Add missing policies (#4330) 2017-10-27 18:01:11 -07:00
CustomFieldPolicy.php Add missing policies (#4330) 2017-10-27 18:01:11 -07:00
CustomFieldsetPolicy.php Adds permission checks for custom fields and custom fieldsets (#5645) (#5795) 2018-07-12 18:28:20 -07:00
DepartmentPolicy.php Add missing policies (#4330) 2017-10-27 18:01:11 -07:00
DepreciationPolicy.php Fixed asset model permission not granted for edit 2018-03-07 18:22:49 -08:00
LicensePolicy.php Fixed policy namespace 2017-12-06 14:49:52 -08:00
LocationPolicy.php Add missing policies (#4330) 2017-10-27 18:01:11 -07:00
ManufacturerPolicy.php Fixed #4596 - manufacturer gate 2017-12-07 20:59:55 -08:00
SnipePermissionsPolicy.php Fixes/import permissions mask (#6826) 2019-03-18 11:58:08 -07:00
StatuslabelPolicy.php Add missing policies (#4330) 2017-10-27 18:01:11 -07:00
SupplierPolicy.php Add missing policies (#4330) 2017-10-27 18:01:11 -07:00
UserPolicy.php Add missing policies (#4330) 2017-10-27 18:01:11 -07:00