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
AccessoryPolicy.php
AssetModelPolicy.php
AssetPolicy.php Applied master changes to develop 2018-02-21 15:51:04 -08:00
CategoryPolicy.php
CheckoutablePermissionsPolicy.php
CompanyPolicy.php Added Company policy to fix company deletion issue 2018-01-19 17:51:28 -08:00
ComponentPolicy.php
ConsumablePolicy.php
CustomFieldPolicy.php
CustomFieldsetPolicy.php Adds permission checks for custom fields and custom fieldsets (#5645) (#5795) 2018-07-12 18:28:20 -07:00
DepartmentPolicy.php
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
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
SupplierPolicy.php
UserPolicy.php