snipe-it/config/permissions.php

658 lines
18 KiB
PHP
Raw Normal View History

2016-03-25 01:18:05 -07:00
<?php
/*
|--------------------------------------------------------------------------
| DO NOT EDIT THIS FILE DIRECTLY.
|--------------------------------------------------------------------------
*/
return [
'Global' => [
[
2016-03-25 01:18:05 -07:00
'permission' => 'superuser',
'label' => 'Super User',
2016-06-02 02:39:23 -07:00
'note' => 'Determines whether the user has full access to all aspects of the admin. This setting overrides any more specific permissions throughout the system. ',
'display' => true,
],
],
2016-03-25 01:18:05 -07:00
'Admin' => [
[
2016-03-25 01:18:05 -07:00
'permission' => 'admin',
'label' => '',
2016-06-02 02:39:23 -07:00
'note' => 'Determines whether the user has access to most aspects of the admin. ',
'display' => true,
],
],
2016-03-25 01:18:05 -07:00
'CSV Import' => [
[
'permission' => 'import',
'label' => '',
'note' => 'This will allow users to import even if access to users, assets, etc is denied elsewhere.',
'display' => true,
],
],
'Reports' => [
[
'permission' => 'reports.view',
2016-06-02 02:39:23 -07:00
'label' => 'View',
'note' => 'Determines whether the user has the ability to view reports.',
'display' => true,
],
],
2016-03-25 01:18:05 -07:00
'Assets' => [
[
'permission' => 'assets.view',
2016-06-02 02:39:23 -07:00
'label' => 'View ',
'note' => '',
2016-06-02 02:39:23 -07:00
'display' => true,
],
[
'permission' => 'assets.create',
2016-06-02 02:39:23 -07:00
'label' => 'Create ',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
'permission' => 'assets.edit',
2016-08-02 00:54:38 -07:00
'label' => 'Edit ',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
'permission' => 'assets.delete',
2016-06-02 02:39:23 -07:00
'label' => 'Delete ',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
'permission' => 'assets.checkout',
2016-06-02 02:39:23 -07:00
'label' => 'Checkout ',
'note' => '',
'display' => false,
],
2016-06-02 02:39:23 -07:00
[
2016-06-02 02:39:23 -07:00
'permission' => 'assets.checkin',
'label' => 'Checkin ',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
2016-08-02 00:54:38 -07:00
[
2016-08-02 00:54:38 -07:00
'permission' => 'assets.checkout',
'label' => 'Checkout ',
'note' => '',
'display' => true,
],
2016-06-02 02:39:23 -07:00
[
2016-06-02 02:39:23 -07:00
'permission' => 'assets.audit',
'label' => 'Audit ',
'note' => 'Allows the user to mark an asset as physically inventoried.',
'display' => true,
],
2016-06-02 02:39:23 -07:00
[
2016-06-02 02:39:23 -07:00
'permission' => 'assets.view.requestable',
'label' => 'View Requestable Assets',
'note' => '',
'display' => true,
],
2016-08-02 00:54:38 -07:00
],
'Accessories' => [
[
'permission' => 'accessories.view',
2016-06-02 02:39:23 -07:00
'label' => 'View ',
'note' => '',
2016-06-02 02:39:23 -07:00
'display' => true,
],
[
'permission' => 'accessories.create',
2016-06-02 02:39:23 -07:00
'label' => 'Create ',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
'permission' => 'accessories.edit',
2016-06-02 02:39:23 -07:00
'label' => 'Edit ',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
'permission' => 'accessories.delete',
2016-06-02 02:39:23 -07:00
'label' => 'Delete ',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
'permission' => 'accessories.checkout',
2016-06-02 02:39:23 -07:00
'label' => 'Checkout ',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
2016-06-02 02:39:23 -07:00
'permission' => 'accessories.checkin',
'label' => 'Checkin ',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
'permission' => 'accessories.files',
'label' => 'View and Modify Accessory Files',
'note' => '',
'display' => true,
],
],
'Consumables' => [
[
'permission' => 'consumables.view',
2016-06-02 02:39:23 -07:00
'label' => 'View',
'note' => '',
2016-06-02 02:39:23 -07:00
'display' => true,
],
[
'permission' => 'consumables.create',
2016-06-02 02:39:23 -07:00
'label' => 'Create ',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
'permission' => 'consumables.edit',
2016-06-02 02:39:23 -07:00
'label' => 'Edit ',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
'permission' => 'consumables.delete',
2016-06-02 02:39:23 -07:00
'label' => 'Delete ',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
'permission' => 'consumables.checkout',
2016-06-02 02:39:23 -07:00
'label' => 'Checkout ',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
'permission' => 'consumables.files',
'label' => 'View and Modify Consumable Files',
'note' => '',
'display' => true,
],
],
'Licenses' => [
[
'permission' => 'licenses.view',
2016-06-02 02:39:23 -07:00
'label' => 'View',
'note' => '',
2016-06-02 02:39:23 -07:00
'display' => true,
],
[
'permission' => 'licenses.create',
2016-08-02 00:54:38 -07:00
'label' => 'Create ',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
'permission' => 'licenses.edit',
2016-08-02 00:54:38 -07:00
'label' => 'Edit ',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
'permission' => 'licenses.delete',
2016-08-02 00:54:38 -07:00
'label' => 'Delete ',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
'permission' => 'licenses.checkout',
2016-08-02 00:54:38 -07:00
'label' => 'Checkout ',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
'permission' => 'licenses.keys',
2016-03-25 01:18:05 -07:00
'label' => 'View License Keys',
'note' => '',
'display' => true,
],
[
'permission' => 'licenses.files',
'label' => 'View and Modify License Files',
'note' => '',
'display' => true,
],
],
2016-03-25 01:18:05 -07:00
'Components' => [
[
'permission' => 'components.view',
2016-06-02 02:39:23 -07:00
'label' => 'View',
'note' => '',
2016-06-02 02:39:23 -07:00
'display' => true,
],
[
'permission' => 'components.create',
2016-08-02 00:54:38 -07:00
'label' => 'Create ',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
'permission' => 'components.edit',
2016-08-02 00:54:38 -07:00
'label' => 'Edit ',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
'permission' => 'components.delete',
2016-08-02 00:54:38 -07:00
'label' => 'Delete ',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
'permission' => 'components.checkout',
2016-08-02 00:54:38 -07:00
'label' => 'Checkout ',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
2016-06-02 02:39:23 -07:00
'permission' => 'components.checkin',
2016-08-02 00:54:38 -07:00
'label' => 'Checkin ',
2016-06-02 02:39:23 -07:00
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
'permission' => 'components.files',
'label' => 'View and Modify Component Files',
'note' => '',
'display' => true,
],
],
'Kits' => [
[
2019-03-13 12:15:54 -07:00
'permission' => 'kits.view',
'label' => 'View ',
'note' => 'These are predefined kits that can be used to quickly checkout assets, licenses, etc.',
'display' => true,
],
[
2019-03-13 12:15:54 -07:00
'permission' => 'kits.create',
'label' => 'Create ',
'note' => '',
'display' => true,
],
[
2019-03-13 12:15:54 -07:00
'permission' => 'kits.edit',
'label' => 'Edit ',
'note' => '',
'display' => true,
],
[
2019-03-13 12:15:54 -07:00
'permission' => 'kits.delete',
'label' => 'Delete ',
'note' => '',
'display' => true,
],
],
2019-03-13 12:15:54 -07:00
'Users' => [
[
'permission' => 'users.view',
2016-06-02 02:39:23 -07:00
'label' => 'View ',
'note' => '',
2016-06-02 02:39:23 -07:00
'display' => true,
],
[
'permission' => 'users.create',
'label' => 'Create Users',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
'permission' => 'users.edit',
'label' => 'Edit Users',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
[
'permission' => 'users.delete',
'label' => 'Delete Users',
'note' => '',
2016-08-02 00:54:38 -07:00
'display' => true,
],
],
2017-02-22 22:21:26 -08:00
'Models' => [
[
2017-02-22 22:21:26 -08:00
'permission' => 'models.view',
'label' => 'View ',
'note' => '',
'display' => true,
],
[
2017-02-22 22:21:26 -08:00
'permission' => 'models.create',
'label' => 'Create ',
'note' => '',
'display' => true,
],
[
2017-02-22 22:21:26 -08:00
'permission' => 'models.edit',
'label' => 'Edit ',
'note' => '',
'display' => true,
],
[
2017-02-22 22:21:26 -08:00
'permission' => 'models.delete',
'label' => 'Delete ',
'note' => '',
'display' => true,
],
2017-02-22 22:21:26 -08:00
],
2017-02-22 22:21:26 -08:00
'Categories' => [
[
2017-05-23 02:50:08 -07:00
'permission' => 'categories.view',
'label' => 'View ',
'note' => '',
'display' => true,
],
[
2017-05-23 02:50:08 -07:00
'permission' => 'categories.create',
'label' => 'Create ',
'note' => '',
'display' => true,
],
[
2017-05-23 02:50:08 -07:00
'permission' => 'categories.edit',
'label' => 'Edit ',
'note' => '',
'display' => true,
],
[
2017-05-23 02:50:08 -07:00
'permission' => 'categories.delete',
'label' => 'Delete ',
'note' => '',
'display' => true,
],
],
2017-05-23 02:50:08 -07:00
'Departments' => [
[
2017-05-23 02:50:08 -07:00
'permission' => 'departments.view',
'label' => 'View ',
'note' => '',
'display' => true,
],
[
2017-05-23 02:50:08 -07:00
'permission' => 'departments.create',
'label' => 'Create ',
'note' => '',
'display' => true,
],
[
2017-05-23 02:50:08 -07:00
'permission' => 'departments.edit',
'label' => 'Edit ',
'note' => '',
'display' => true,
],
[
2017-05-23 02:50:08 -07:00
'permission' => 'departments.delete',
'label' => 'Delete ',
'note' => '',
'display' => true,
],
],
2017-02-22 22:21:26 -08:00
'Status Labels' => [
[
'permission' => 'statuslabels.view',
'label' => 'View ',
'note' => '',
'display' => true,
],
[
'permission' => 'statuslabels.create',
'label' => 'Create ',
'note' => '',
'display' => true,
],
[
'permission' => 'statuslabels.edit',
'label' => 'Edit ',
'note' => '',
'display' => true,
],
[
'permission' => 'statuslabels.delete',
'label' => 'Delete ',
'note' => '',
'display' => true,
],
],
2017-02-22 22:21:26 -08:00
'Custom Fields' => [
[
'permission' => 'customfields.view',
'label' => 'View',
'note' => '',
'display' => true,
],
[
'permission' => 'customfields.create',
'label' => 'Create',
'note' => '',
'display' => true,
],
[
'permission' => 'customfields.edit',
'label' => 'Edit',
'note' => '',
'display' => true,
],
[
'permission' => 'customfields.delete',
'label' => 'Delete',
'note' => '',
'display' => true,
],
],
'Suppliers' => [
[
'permission' => 'suppliers.view',
'label' => 'View ',
'note' => '',
'display' => true,
],
[
'permission' => 'suppliers.create',
'label' => 'Create ',
'note' => '',
'display' => true,
],
[
'permission' => 'suppliers.edit',
'label' => 'Edit ',
'note' => '',
'display' => true,
],
[
'permission' => 'suppliers.delete',
'label' => 'Delete ',
'note' => '',
'display' => true,
],
],
2017-02-22 22:21:26 -08:00
'Manufacturers' => [
[
2017-02-22 22:21:26 -08:00
'permission' => 'manufacturers.view',
'label' => 'View ',
'note' => '',
'display' => true,
],
[
2017-02-22 22:21:26 -08:00
'permission' => 'manufacturers.create',
'label' => 'Create ',
'note' => '',
'display' => true,
],
[
2017-02-22 22:21:26 -08:00
'permission' => 'manufacturers.edit',
'label' => 'Edit ',
'note' => '',
'display' => true,
],
[
2017-02-22 22:21:26 -08:00
'permission' => 'manufacturers.delete',
'label' => 'Delete ',
'note' => '',
'display' => true,
],
],
2017-02-22 22:21:26 -08:00
'Depreciations' => [
[
2017-02-22 22:21:26 -08:00
'permission' => 'depreciations.view',
'label' => 'View ',
'note' => '',
'display' => true,
],
[
2017-02-22 22:21:26 -08:00
'permission' => 'depreciations.create',
'label' => 'Create ',
'note' => '',
'display' => true,
],
[
2017-02-22 22:21:26 -08:00
'permission' => 'depreciations.edit',
'label' => 'Edit ',
'note' => '',
'display' => true,
],
[
2017-02-22 22:21:26 -08:00
'permission' => 'depreciations.delete',
'label' => 'Delete ',
'note' => '',
'display' => true,
],
],
2017-02-22 22:21:26 -08:00
'Locations' => [
[
2017-02-22 22:21:26 -08:00
'permission' => 'locations.view',
'label' => 'View ',
'note' => '',
'display' => true,
],
[
2017-02-22 22:21:26 -08:00
'permission' => 'locations.create',
'label' => 'Create ',
'note' => '',
'display' => true,
],
[
2017-02-22 22:21:26 -08:00
'permission' => 'locations.edit',
'label' => 'Edit ',
'note' => '',
'display' => true,
],
[
2017-02-22 22:21:26 -08:00
'permission' => 'locations.delete',
'label' => 'Delete ',
'note' => '',
'display' => true,
],
],
2017-02-22 22:21:26 -08:00
'Companies' => [
[
'permission' => 'companies.view',
'label' => 'View ',
'note' => '',
'display' => true,
],
[
'permission' => 'companies.create',
'label' => 'Create ',
'note' => '',
'display' => true,
],
[
'permission' => 'companies.edit',
'label' => 'Edit ',
'note' => '',
'display' => true,
],
[
'permission' => 'companies.delete',
'label' => 'Delete ',
'note' => '',
'display' => true,
],
],
2017-02-22 22:21:26 -08:00
'Self' => [
[
'permission' => 'self.two_factor',
'label' => 'Two-Factor Authentication',
'note' => 'The user may disable/enable two-factor authentication themselves if two-factor is enabled and set to selective.',
'display' => true,
],
[
2017-01-11 04:05:39 -08:00
'permission' => 'self.api',
'label' => 'Create API Keys',
'note' => 'The user create personal API keys to utilize the REST API.',
'display' => true,
],
2017-01-11 04:05:39 -08:00
[
'permission' => 'self.edit_location',
'label' => 'Profile Edit Location',
'note' => 'The user may update their own location in their profile. Note that this is not affected by any additional Users permissions you grant to this user or group.',
'display' => true,
],
[
2018-08-21 23:26:12 -07:00
'permission' => 'self.checkout_assets',
'label' => 'Self-Checkout',
'note' => 'This user may check out assets that are marked for self-checkout.',
'display' => true,
],
[
'permission' => 'self.view_purchase_cost',
'label' => 'View Purchase-Cost Column',
'note' => 'This user can see the purchase cost column of items assigned to them.',
'display' => true,
],
],
2017-02-22 22:21:26 -08:00
];