snipe-it/resources/views
Till Deeke 27699aa99c Adds permission checks for custom fields and custom fieldsets (#5645) (#5795)
* adds permission checks to custom fields

* adds permission checks to custom fieldsets

* adds separate permissions for custom fieldsets

* check for permissions in views

* Removes custom fieldsets from permissions config

* Proxy the authorization for custom fieldsets down to custom fields.

This allows us to use the existing permissions in use and have more semantically correct authorization checks for custom fieldsets.

* simplifies the authorization check for the custom fields overview

* removes special handling of custom fieldsets in base policy

I just realised that this code duplicates the logic from the custom fieldset policy.
Since we are checking for the authorization of custom fields anyway, we can just use the columnName for the fields.

* cleanup of unused imports
2018-07-12 18:28:20 -07:00
..
accessories Added notes field to acessories and consumable checkout pages. Resolves request #5607. (#5608) 2018-05-28 14:30:18 -07:00
account Fixed inconsistent or incorrect comment labels (#5691) 2018-06-11 20:11:58 -07:00
asset_maintenances Create asset maintenance - Added orange bar for required asset to edit view (#5520) 2018-05-16 19:23:23 -07:00
auth Fixes #4240 - allows admins to use custom password reset URL 2017-10-19 12:22:27 -07:00
categories Added license categories 2018-05-04 21:01:38 -07:00
companies Features/better table options (#5018) 2018-02-16 13:22:55 -08:00
components Fixed - removed extra components table 2018-02-21 16:20:46 -08:00
consumables Added notes field to acessories and consumable checkout pages. Resolves request #5607. (#5608) 2018-05-28 14:30:18 -07:00
custom_fields Adds permission checks for custom fields and custom fieldsets (#5645) (#5795) 2018-07-12 18:28:20 -07:00
departments Make department columns sortable 2018-02-21 05:04:20 -08:00
depreciations Features/better table options (#5018) 2018-02-16 13:22:55 -08:00
emails Fixed #5477 - added GDPR privacy policy link in email and webpage 2018-05-08 00:50:13 -07:00
errors Nicer formatting on 503 2017-10-28 07:01:45 -07:00
groups Features/better table options (#5018) 2018-02-16 13:22:55 -08:00
hardware Added option to include model information on asset labels. (#5301) 2018-07-12 18:23:12 -07:00
importer Hide upload button if app is locked 2017-11-01 23:44:31 -07:00
layouts Adds permission checks for custom fields and custom fieldsets (#5645) (#5795) 2018-07-12 18:28:20 -07:00
licenses Fixed #5501 - regression disallowing license files to be downloaded 2018-05-08 14:24:51 -07:00
locations Features/better table options (#5018) 2018-02-16 13:22:55 -08:00
manufacturers Fixed #2402 - add ability to restore manufacturers 2018-03-03 18:46:19 -08:00
modals Major overhaul for modals, and a fix for #4820 (#4866) 2018-01-20 00:42:29 -08:00
models Adds textarea as a custom field type 2018-06-21 09:35:04 -07:00
notifications Added model name to expected checkin reminders 2018-05-08 05:59:34 -07:00
paginator Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
partials Fixed #5617 - incorrect url to fieldset editing 2018-05-29 10:41:46 -07:00
reports Added manager to custom report 2018-06-27 00:45:09 -07:00
settings Added option to include model information on asset labels. (#5301) 2018-07-12 18:23:12 -07:00
setup Fixed #5423 - removed required text on preflight 2018-04-24 12:48:58 -07:00
statuslabels Fixed #5138 - added default_label flag to status labels 2018-03-05 22:04:16 -08:00
suppliers Features/better table options (#5018) 2018-02-16 13:22:55 -08:00
users Fixed 2FA reset button 2018-02-26 15:43:49 -08:00
vendor Use custom header color in emails 2018-05-29 10:23:39 -07:00
dashboard.blade.php Added license categories 2018-05-04 21:01:38 -07:00
notifications.blade.php Added UI fade out when bootstrap alerts are dismissed 2017-11-08 03:13:18 -08:00