Skip to content

A free open source IT asset/license management system

Merge remote-tracking branch 'origin/master' into develop

snipeef1eb15a9167
diff --cc config/permissions.php
index 57aa4a3232,2dbe34b2c1..2af54d615a
--- a/config/permissions.php
+++ b/config/permissions.php
@@@ -6,10 -6,11 +6,11 @@@
|--------------------------------------------------------------------------
*/
+
-return array(
+return [
- 'Global' => array(
- array(
+ 'Global' => [
+ [
'permission' => 'superuser',
'label' => 'Super User',
'note' => 'Determines whether the user has full access to all aspects of the admin. This setting overrides any more specific permissions throughout the system. ',
@@@ -95,9 -96,10 +96,10 @@@
'label' => 'Audit ',
'note' => 'Allows the user to mark an asset as physically inventoried.',
'display' => true,
- ),
+ ],
+
- array(
+ [
'permission' => 'assets.view.requestable',
'label' => 'View Requestable Assets',
'note' => '',
@@@ -175,11 -177,12 +177,12 @@@
'label' => 'Checkout ',
'note' => '',
'display' => true,
- ),
- ),
+ ],
+ ],
+
- 'Licenses' => array(
- array(
+ 'Licenses' => [
+ [
'permission' => 'licenses.view',
'label' => 'View',
'note' => '',
@@@ -220,11 -223,12 +223,12 @@@
'label' => 'View and Modify License Files',
'note' => '',
'display' => true,
- ),
- ),
+ ],
+ ],
+
- 'Components' => array(
- array(
+ 'Components' => [
+ [
'permission' => 'components.view',
'label' => 'View',
'note' => '',
@@@ -287,18 -291,12 +291,11 @@@
'label' => 'Delete ',
'note' => '',
'display' => true,
- ),
- ),
+ ],
-
- [
- 'permission' => 'kits.checkout',
- 'label' => 'Checkout ',
- 'note' => '',
- 'display' => true,
- ],
+ ],
-
- 'Users' => array(
- array(
+ 'Users' => [
+ [
'permission' => 'users.view',
'label' => 'View ',
'note' => '',
@@@ -485,11 -484,12 +482,12 @@@
'label' => 'Delete ',
'note' => '',
'display' => true,
- ),
- ),
+ ],
+ ],
+
- 'Manufacturers' => array(
- array(
+ 'Manufacturers' => [
+ [
'permission' => 'manufacturers.view',
'label' => 'View ',
'note' => '',
@@@ -593,11 -593,14 +591,14 @@@
'label' => 'Delete ',
'note' => '',
'display' => true,
- ),
- ),
+ ],
+ ],
+
+
+
- 'Self' => array(
- array(
+ '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.',