2016-03-25 01:18:05 -07:00
< ? php
return array (
'Global' => array (
array (
'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. ' ,
2016-04-28 14:03:54 -07:00
'display' => true ,
2016-03-25 01:18:05 -07:00
),
),
'Admin' => array (
array (
'permission' => 'admin' ,
2016-04-28 14:03:54 -07:00
'label' => '' ,
2016-06-02 02:39:23 -07:00
'note' => 'Determines whether the user has access to most aspects of the admin. ' ,
2016-04-28 14:03:54 -07:00
'display' => true ,
2016-03-25 01:18:05 -07:00
),
2017-02-22 22:21:26 -08:00
2016-06-02 02:39:23 -07:00
array (
'permission' => 'admin.api_key' ,
'label' => 'Create API Key' ,
'note' => 'Determines whether the user can access the API via API key.' ,
'display' => false ,
),
2016-03-25 01:18:05 -07:00
),
2016-04-28 14:03:54 -07:00
'Reports' => array (
2016-03-25 01:18:05 -07:00
array (
2016-04-28 14:03:54 -07:00
'permission' => 'reports.view' ,
2016-06-02 02:39:23 -07:00
'label' => 'View' ,
'note' => 'Determines whether the user has the ability to view reports.' ,
2016-04-28 14:03:54 -07:00
'display' => true ,
2016-03-25 01:18:05 -07:00
),
),
2016-04-28 14:03:54 -07:00
'Assets' => array (
array (
'permission' => 'assets.view' ,
2016-06-02 02:39:23 -07:00
'label' => 'View ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-06-02 02:39:23 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'permission' => 'assets.create' ,
2016-06-02 02:39:23 -07:00
'label' => 'Create ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'permission' => 'assets.edit' ,
2016-08-02 00:54:38 -07:00
'label' => 'Edit ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'permission' => 'assets.delete' ,
2016-06-02 02:39:23 -07:00
'label' => 'Delete ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'permission' => 'assets.checkout' ,
2016-06-02 02:39:23 -07:00
'label' => 'Checkout ' ,
'note' => '' ,
'display' => false ,
),
array (
'permission' => 'assets.checkin' ,
'label' => 'Checkin ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
),
array (
'permission' => 'assets.checkout' ,
'label' => 'Checkout ' ,
'note' => '' ,
'display' => true ,
2016-04-28 14:03:54 -07:00
),
2016-06-02 02:39:23 -07:00
array (
'permission' => 'assets.audit' ,
'label' => 'Audit ' ,
'note' => '' ,
'display' => false ,
),
array (
'permission' => 'assets.view.requestable' ,
'label' => 'View Requestable Assets' ,
'note' => '' ,
'display' => true ,
),
2016-08-02 00:54:38 -07:00
2016-04-28 14:03:54 -07:00
),
'Accessories' => array (
array (
'permission' => 'accessories.view' ,
2016-06-02 02:39:23 -07:00
'label' => 'View ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-06-02 02:39:23 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
2016-10-25 11:38:24 -07:00
'permission' => 'accessories.create' ,
2016-06-02 02:39:23 -07:00
'label' => 'Create ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'permission' => 'accessories.edit' ,
2016-06-02 02:39:23 -07:00
'label' => 'Edit ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'permission' => 'accessories.delete' ,
2016-06-02 02:39:23 -07:00
'label' => 'Delete ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'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
),
array (
'permission' => 'accessories.checkin' ,
'label' => 'Checkin ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
),
'Consumables' => array (
array (
'permission' => 'consumables.view' ,
2016-06-02 02:39:23 -07:00
'label' => 'View' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-06-02 02:39:23 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'permission' => 'consumables.create' ,
2016-06-02 02:39:23 -07:00
'label' => 'Create ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'permission' => 'consumables.edit' ,
2016-06-02 02:39:23 -07:00
'label' => 'Edit ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'permission' => 'consumables.delete' ,
2016-06-02 02:39:23 -07:00
'label' => 'Delete ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'permission' => 'consumables.checkout' ,
2016-06-02 02:39:23 -07:00
'label' => 'Checkout ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
),
2016-03-25 01:18:05 -07:00
'Licenses' => array (
array (
2016-04-28 14:03:54 -07:00
'permission' => 'licenses.view' ,
2016-06-02 02:39:23 -07:00
'label' => 'View' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-06-02 02:39:23 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'permission' => 'licenses.create' ,
2016-08-02 00:54:38 -07:00
'label' => 'Create ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'permission' => 'licenses.edit' ,
2016-08-02 00:54:38 -07:00
'label' => 'Edit ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'permission' => 'licenses.delete' ,
2016-08-02 00:54:38 -07:00
'label' => 'Delete ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'permission' => 'licenses.checkout' ,
2016-08-02 00:54:38 -07:00
'label' => 'Checkout ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'permission' => 'licenses.keys' ,
2016-03-25 01:18:05 -07:00
'label' => 'View License Keys' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
'display' => true ,
2016-03-25 01:18:05 -07:00
),
),
2016-04-28 14:03:54 -07:00
'Components' => array (
array (
'permission' => 'components.view' ,
2016-06-02 02:39:23 -07:00
'label' => 'View' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-06-02 02:39:23 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'permission' => 'components.create' ,
2016-08-02 00:54:38 -07:00
'label' => 'Create ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'permission' => 'components.edit' ,
2016-08-02 00:54:38 -07:00
'label' => 'Edit ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'permission' => 'components.delete' ,
2016-08-02 00:54:38 -07:00
'label' => 'Delete ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'permission' => 'components.checkout' ,
2016-08-02 00:54:38 -07:00
'label' => 'Checkout ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
2016-06-02 02:39:23 -07:00
array (
'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 ,
2016-06-02 02:39:23 -07:00
),
2016-04-28 14:03:54 -07:00
),
'Users' => array (
array (
'permission' => 'users.view' ,
2016-06-02 02:39:23 -07:00
'label' => 'View ' ,
2016-04-28 14:03:54 -07:00
'note' => '' ,
2016-06-02 02:39:23 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'permission' => 'users.create' ,
'label' => 'Create Users' ,
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'permission' => 'users.edit' ,
'label' => 'Edit Users' ,
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
array (
'permission' => 'users.delete' ,
'label' => 'Delete Users' ,
'note' => '' ,
2016-08-02 00:54:38 -07:00
'display' => true ,
2016-04-28 14:03:54 -07:00
),
),
2017-02-22 22:21:26 -08:00
'Models' => array (
array (
'permission' => 'models.view' ,
'label' => 'View ' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'models.create' ,
'label' => 'Create ' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'models.edit' ,
'label' => 'Edit ' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'models.delete' ,
'label' => 'Delete ' ,
'note' => '' ,
'display' => true ,
),
),
'Categories' => array (
array (
'permission' => 'categories.view' ,
'label' => 'View ' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'categories.create' ,
'label' => 'Create ' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'categories.edit' ,
'label' => 'Edit ' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'categories.delete' ,
'label' => 'Delete ' ,
'note' => '' ,
'display' => true ,
),
),
2017-03-03 17:30:12 -08:00
'Status Labels' => array (
array (
'permission' => 'statuslabels.view' ,
'label' => 'View ' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'statuslabels.create' ,
'label' => 'Create ' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'statuslabels.edit' ,
'label' => 'Edit ' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'statuslabels.delete' ,
'label' => 'Delete ' ,
'note' => '' ,
'display' => true ,
),
),
2017-02-22 22:21:26 -08:00
2017-03-03 17:30:12 -08:00
'Custom Fields' => array (
array (
'permission' => 'customfields.view' ,
'label' => 'View' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'customfields.create' ,
'label' => 'Create' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'customfields.edit' ,
'label' => 'Edit' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'customfields.delete' ,
'label' => 'Delete' ,
'note' => '' ,
'display' => true ,
),
),
2017-02-22 22:21:26 -08:00
2017-03-03 17:30:12 -08:00
'Suppliers' => array (
array (
'permission' => 'suppliers.view' ,
'label' => 'View ' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'suppliers.create' ,
'label' => 'Create ' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'suppliers.edit' ,
'label' => 'Edit ' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'suppliers.delete' ,
'label' => 'Delete ' ,
'note' => '' ,
'display' => true ,
2017-02-22 22:21:26 -08:00
),
2017-03-03 17:30:12 -08:00
),
2017-02-22 22:21:26 -08:00
'Manufacturers' => array (
array (
'permission' => 'manufacturers.view' ,
'label' => 'View ' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'manufacturers.create' ,
'label' => 'Create ' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'manufacturers.edit' ,
'label' => 'Edit ' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'manufacturers.delete' ,
'label' => 'Delete ' ,
'note' => '' ,
'display' => true ,
),
),
'Depreciations' => array (
array (
'permission' => 'depreciations.view' ,
'label' => 'View ' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'depreciations.create' ,
'label' => 'Create ' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'depreciations.edit' ,
'label' => 'Edit ' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'depreciations.delete' ,
'label' => 'Delete ' ,
'note' => '' ,
'display' => true ,
),
),
'Locations' => array (
array (
'permission' => 'locations.view' ,
'label' => 'View ' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'locations.create' ,
'label' => 'Create ' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'locations.edit' ,
'label' => 'Edit ' ,
'note' => '' ,
'display' => true ,
),
array (
'permission' => 'locations.delete' ,
'label' => 'Delete ' ,
'note' => '' ,
'display' => true ,
),
),
2016-10-31 16:52:25 -07:00
'Self' => array (
array (
'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
array (
'permission' => 'self.api' ,
'label' => 'Create API Keys' ,
'note' => 'The user create personal API keys to utilize the REST API.' ,
'display' => true ,
),
2016-10-31 16:52:25 -07:00
),
2016-04-28 14:03:54 -07:00
2017-02-22 22:21:26 -08:00
2016-03-25 01:18:05 -07:00
);