snipe-it/config/permissions.php

278 lines
7.6 KiB
PHP
Raw Normal View History

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. ',
'display' => true,
2016-03-25 01:18:05 -07:00
),
),
'Admin' => array(
array(
'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
),
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
),
'Reports' => array(
2016-03-25 01:18:05 -07:00
array(
'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' => array(
array(
'permission' => 'assets.view',
2016-06-02 02:39:23 -07:00
'label' => 'View ',
'note' => '',
2016-06-02 02:39:23 -07:00
'display' => true,
),
array(
'permission' => 'assets.create',
2016-06-02 02:39:23 -07:00
'label' => 'Create ',
'note' => '',
'display' => false,
),
array(
'permission' => 'assets.edit',
2016-06-02 02:39:23 -07:00
'label' => 'Edit ',
'note' => '',
'display' => false,
),
array(
'permission' => 'assets.delete',
2016-06-02 02:39:23 -07:00
'label' => 'Delete ',
'note' => '',
'display' => false,
),
array(
'permission' => 'assets.checkout',
2016-06-02 02:39:23 -07:00
'label' => 'Checkout ',
'note' => '',
'display' => false,
),
array(
'permission' => 'assets.checkin',
'label' => 'Checkin ',
'note' => '',
'display' => false,
),
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,
),
),
'Accessories' => array(
array(
'permission' => 'accessories.view',
2016-06-02 02:39:23 -07:00
'label' => 'View ',
'note' => '',
2016-06-02 02:39:23 -07:00
'display' => true,
),
array(
'permission' => 'accessory.create',
2016-06-02 02:39:23 -07:00
'label' => 'Create ',
'note' => '',
'display' => false,
),
array(
'permission' => 'accessories.edit',
2016-06-02 02:39:23 -07:00
'label' => 'Edit ',
'note' => '',
'display' => false,
),
array(
'permission' => 'accessories.delete',
2016-06-02 02:39:23 -07:00
'label' => 'Delete ',
'note' => '',
'display' => false,
),
array(
'permission' => 'accessories.checkout',
2016-06-02 02:39:23 -07:00
'label' => 'Checkout ',
'note' => '',
'display' => false,
),
array(
'permission' => 'accessories.checkin',
'label' => 'Checkin ',
'note' => '',
'display' => false,
),
),
'Consumables' => array(
array(
'permission' => 'consumables.view',
2016-06-02 02:39:23 -07:00
'label' => 'View',
'note' => '',
2016-06-02 02:39:23 -07:00
'display' => true,
),
array(
'permission' => 'consumables.create',
2016-06-02 02:39:23 -07:00
'label' => 'Create ',
'note' => '',
'display' => false,
),
array(
'permission' => 'consumables.edit',
2016-06-02 02:39:23 -07:00
'label' => 'Edit ',
'note' => '',
'display' => false,
),
array(
'permission' => 'consumables.delete',
2016-06-02 02:39:23 -07:00
'label' => 'Delete ',
'note' => '',
'display' => false,
),
array(
'permission' => 'consumables.checkout',
2016-06-02 02:39:23 -07:00
'label' => 'Checkout ',
'note' => '',
'display' => false,
),
),
2016-03-25 01:18:05 -07:00
'Licenses' => array(
array(
'permission' => 'licenses.view',
2016-06-02 02:39:23 -07:00
'label' => 'View',
'note' => '',
2016-06-02 02:39:23 -07:00
'display' => true,
),
array(
'permission' => 'licenses.create',
'label' => 'Create Licenses',
'note' => '',
'display' => false,
),
array(
'permission' => 'licenses.edit',
'label' => 'Edit Licenses',
'note' => '',
'display' => false,
),
array(
'permission' => 'licenses.delete',
'label' => 'Delete Licenses',
'note' => '',
'display' => false,
),
array(
'permission' => 'licenses.checkout',
'label' => 'Checkout Licenses',
'note' => '',
'display' => false,
),
array(
'permission' => 'licenses.keys',
2016-03-25 01:18:05 -07:00
'label' => 'View License Keys',
'note' => '',
'display' => true,
2016-03-25 01:18:05 -07:00
),
),
'Components' => array(
array(
'permission' => 'components.view',
2016-06-02 02:39:23 -07:00
'label' => 'View',
'note' => '',
2016-06-02 02:39:23 -07:00
'display' => true,
),
array(
'permission' => 'components.create',
'label' => 'Create Components',
'note' => '',
'display' => false,
),
array(
'permission' => 'components.edit',
'label' => 'Edit Components',
'note' => '',
'display' => false,
),
array(
'permission' => 'components.delete',
'label' => 'Delete Components',
'note' => '',
'display' => false,
),
array(
'permission' => 'components.checkout',
'label' => 'Checkout Components',
'note' => '',
'display' => false,
),
2016-06-02 02:39:23 -07:00
array(
'permission' => 'components.checkin',
'label' => 'Checkin Components',
'note' => '',
'display' => false,
),
),
'Users' => array(
array(
'permission' => 'users.view',
2016-06-02 02:39:23 -07:00
'label' => 'View ',
'note' => '',
2016-06-02 02:39:23 -07:00
'display' => true,
),
array(
'permission' => 'users.create',
'label' => 'Create Users',
'note' => '',
'display' => false,
),
array(
'permission' => 'users.edit',
'label' => 'Edit Users',
'note' => '',
'display' => false,
),
array(
'permission' => 'users.delete',
'label' => 'Delete Users',
'note' => '',
'display' => false,
),
),
2016-03-25 01:18:05 -07:00
);