mirror of
https://github.com/snipe/snipe-it.git
synced 2025-10-29 11:21:21 +00:00
Translations!!!
This commit is contained in:
parent
8c534d29d3
commit
294ffb72a4
@ -12,8 +12,6 @@ return [
|
||||
'Superuser' => [
|
||||
[
|
||||
'permission' => 'superuser',
|
||||
'label' => 'Super User',
|
||||
'note' => 'Determines whether the user has full access to all aspects of the admin. This setting overrides ALL more specific and restrictive permissions throughout the system. ',
|
||||
'display' => true,
|
||||
],
|
||||
],
|
||||
@ -21,8 +19,6 @@ return [
|
||||
'Admin' => [
|
||||
[
|
||||
'permission' => 'admin',
|
||||
'label' => '',
|
||||
'note' => 'Determines whether the user has access to most aspects of the system EXCEPT the Admin Settings. These users will be able to manage users, locations, categories, etc, but ARE constrained by Full Multiple Company Support if it is enabled.',
|
||||
'display' => true,
|
||||
],
|
||||
],
|
||||
@ -30,8 +26,6 @@ return [
|
||||
'CSV Import' => [
|
||||
[
|
||||
'permission' => 'import',
|
||||
'label' => '',
|
||||
'note' => 'This will allow users to import even if access to users, assets, etc is denied elsewhere.',
|
||||
'display' => true,
|
||||
],
|
||||
],
|
||||
@ -39,8 +33,6 @@ return [
|
||||
'Reports' => [
|
||||
[
|
||||
'permission' => 'reports.view',
|
||||
'label' => 'View',
|
||||
'note' => 'Determines whether the user has the ability to view reports.',
|
||||
'display' => true,
|
||||
],
|
||||
],
|
||||
@ -48,68 +40,48 @@ return [
|
||||
'Assets' => [
|
||||
[
|
||||
'permission' => 'assets.view',
|
||||
'label' => 'View ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'assets.create',
|
||||
'label' => 'Create ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'assets.edit',
|
||||
'label' => 'Edit ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'assets.delete',
|
||||
'label' => 'Delete ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'assets.checkout',
|
||||
'label' => 'Checkout ',
|
||||
'note' => '',
|
||||
'display' => false,
|
||||
],
|
||||
|
||||
[
|
||||
'permission' => 'assets.checkin',
|
||||
'label' => 'Checkin ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
|
||||
[
|
||||
'permission' => 'assets.checkout',
|
||||
'label' => 'Checkout ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
|
||||
[
|
||||
'permission' => 'assets.audit',
|
||||
'label' => 'Audit ',
|
||||
'note' => 'Allows the user to mark an asset as physically inventoried.',
|
||||
'display' => true,
|
||||
],
|
||||
|
||||
|
||||
[
|
||||
'permission' => 'assets.view.requestable',
|
||||
'label' => 'View Requestable Assets',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
|
||||
[
|
||||
'permission' => 'assets.view.encrypted_custom_fields',
|
||||
'label' => 'View and Modify Encrypted Custom Fields',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
|
||||
@ -118,44 +90,30 @@ return [
|
||||
'Accessories' => [
|
||||
[
|
||||
'permission' => 'accessories.view',
|
||||
'label' => 'View ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'accessories.create',
|
||||
'label' => 'Create ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'accessories.edit',
|
||||
'label' => 'Edit ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'accessories.delete',
|
||||
'label' => 'Delete ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'accessories.checkout',
|
||||
'label' => 'Checkout ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'accessories.checkin',
|
||||
'label' => 'Checkin ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'accessories.files',
|
||||
'label' => 'View and Modify Accessory Files',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
|
||||
@ -164,38 +122,26 @@ return [
|
||||
'Consumables' => [
|
||||
[
|
||||
'permission' => 'consumables.view',
|
||||
'label' => 'View',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'consumables.create',
|
||||
'label' => 'Create ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'consumables.edit',
|
||||
'label' => 'Edit ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'consumables.delete',
|
||||
'label' => 'Delete ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'consumables.checkout',
|
||||
'label' => 'Checkout ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'consumables.files',
|
||||
'label' => 'View and Modify Consumable Files',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
],
|
||||
@ -204,50 +150,34 @@ return [
|
||||
'Licenses' => [
|
||||
[
|
||||
'permission' => 'licenses.view',
|
||||
'label' => 'View',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'licenses.create',
|
||||
'label' => 'Create ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'licenses.edit',
|
||||
'label' => 'Edit ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'licenses.delete',
|
||||
'label' => 'Delete ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'licenses.checkout',
|
||||
'label' => 'Checkout ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'licenses.checkin',
|
||||
'label' => 'Checkin ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'licenses.keys',
|
||||
'label' => 'View License Keys',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'licenses.files',
|
||||
'label' => 'View and Modify License Files',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
],
|
||||
@ -256,44 +186,30 @@ return [
|
||||
'Components' => [
|
||||
[
|
||||
'permission' => 'components.view',
|
||||
'label' => 'View',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'components.create',
|
||||
'label' => 'Create ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'components.edit',
|
||||
'label' => 'Edit ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'components.delete',
|
||||
'label' => 'Delete ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'components.checkout',
|
||||
'label' => 'Checkout ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'components.checkin',
|
||||
'label' => 'Checkin ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'components.files',
|
||||
'label' => 'View and Modify Component Files',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
|
||||
@ -302,26 +218,18 @@ return [
|
||||
'Kits' => [
|
||||
[
|
||||
'permission' => 'kits.view',
|
||||
'label' => 'View ',
|
||||
'note' => 'These are predefined kits that can be used to quickly checkout assets, licenses, etc.',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'kits.create',
|
||||
'label' => 'Create ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'kits.edit',
|
||||
'label' => 'Edit ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'kits.delete',
|
||||
'label' => 'Delete ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
],
|
||||
@ -329,26 +237,18 @@ return [
|
||||
'Users' => [
|
||||
[
|
||||
'permission' => 'users.view',
|
||||
'label' => 'View ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'users.create',
|
||||
'label' => 'Create Users',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'users.edit',
|
||||
'label' => 'Edit Users',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'users.delete',
|
||||
'label' => 'Delete Users',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
|
||||
@ -357,26 +257,18 @@ return [
|
||||
'Models' => [
|
||||
[
|
||||
'permission' => 'models.view',
|
||||
'label' => 'View ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'models.create',
|
||||
'label' => 'Create ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'models.edit',
|
||||
'label' => 'Edit ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'models.delete',
|
||||
'label' => 'Delete ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
|
||||
@ -385,26 +277,18 @@ return [
|
||||
'Categories' => [
|
||||
[
|
||||
'permission' => 'categories.view',
|
||||
'label' => 'View ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'categories.create',
|
||||
'label' => 'Create ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'categories.edit',
|
||||
'label' => 'Edit ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'categories.delete',
|
||||
'label' => 'Delete ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
],
|
||||
@ -412,26 +296,18 @@ return [
|
||||
'Departments' => [
|
||||
[
|
||||
'permission' => 'departments.view',
|
||||
'label' => 'View ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'departments.create',
|
||||
'label' => 'Create ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'departments.edit',
|
||||
'label' => 'Edit ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'departments.delete',
|
||||
'label' => 'Delete ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
],
|
||||
@ -439,26 +315,18 @@ return [
|
||||
'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,
|
||||
],
|
||||
],
|
||||
@ -466,26 +334,18 @@ return [
|
||||
'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,
|
||||
],
|
||||
],
|
||||
@ -493,26 +353,18 @@ return [
|
||||
'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,
|
||||
],
|
||||
],
|
||||
@ -521,26 +373,18 @@ return [
|
||||
'Manufacturers' => [
|
||||
[
|
||||
'permission' => 'manufacturers.view',
|
||||
'label' => 'View ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'manufacturers.create',
|
||||
'label' => 'Create ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'manufacturers.edit',
|
||||
'label' => 'Edit ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'manufacturers.delete',
|
||||
'label' => 'Delete ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
],
|
||||
@ -548,26 +392,18 @@ return [
|
||||
'Depreciations' => [
|
||||
[
|
||||
'permission' => 'depreciations.view',
|
||||
'label' => 'View ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'depreciations.create',
|
||||
'label' => 'Create ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'depreciations.edit',
|
||||
'label' => 'Edit ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'depreciations.delete',
|
||||
'label' => 'Delete ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
],
|
||||
@ -575,26 +411,18 @@ return [
|
||||
'Locations' => [
|
||||
[
|
||||
'permission' => 'locations.view',
|
||||
'label' => 'View ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'locations.create',
|
||||
'label' => 'Create ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'locations.edit',
|
||||
'label' => 'Edit ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
[
|
||||
'permission' => 'locations.delete',
|
||||
'label' => 'Delete ',
|
||||
'note' => '',
|
||||
'display' => true,
|
||||
],
|
||||
],
|
||||
@ -602,73 +430,51 @@ return [
|
||||
'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,
|
||||
],
|
||||
],
|
||||
|
||||
|
||||
|
||||
|
||||
'User (Self) Accounts' => [
|
||||
[
|
||||
// This isn't really a permission, but we include it for now
|
||||
'permission' => 'self.view',
|
||||
'label' => '',
|
||||
'note' => '',
|
||||
'display' => false,
|
||||
],
|
||||
[
|
||||
'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,
|
||||
],
|
||||
|
||||
[
|
||||
'permission' => 'self.api',
|
||||
'label' => 'Create API Keys',
|
||||
'note' => 'The user create personal API keys to utilize the REST API. The API keys will have the same permissions as the user account.',
|
||||
'display' => true,
|
||||
],
|
||||
|
||||
[
|
||||
'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,
|
||||
],
|
||||
|
||||
[
|
||||
'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,
|
||||
],
|
||||
|
||||
|
||||
@ -4,18 +4,413 @@ return array(
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Password Reminder Language Lines
|
||||
| Permissions
|
||||
|--------------------------------------------------------------------------
|
||||
| The following language lines are used in the user permissions system.
|
||||
| Each permission has a 'name' and a 'note' that describes
|
||||
| the permission in detail.
|
||||
|
|
||||
| The following language lines are the default lines which match reasons
|
||||
| that are given by the password broker for a password update attempt
|
||||
| has failed, such as for an invalid token or invalid new password.
|
||||
|
|
||||
| DO NOT edit the keys (left-hand side) of each permission as these are
|
||||
| used throughout the system for translations.
|
||||
|---------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
"password" => "Passwords must be six characters and match the confirmation.",
|
||||
"user" => "Username or email address is incorrect",
|
||||
"token" => 'This password reset token is invalid or expired, or does not match the username provided.',
|
||||
'sent' => 'If a matching user with a valid email address exists in our system, a password recovery email has been sent.',
|
||||
"superuser" => [
|
||||
'name' => 'Super User',
|
||||
'note' => 'Determines whether the user has full access to all aspects of the admin. This setting overrides ALL more specific and restrictive permissions throughout the system. ',
|
||||
],
|
||||
'admin' => [
|
||||
'name' => 'Admin Access',
|
||||
'note' => 'Determines whether the user has access to most aspects of the system EXCEPT the System Admin Settings. These users will be able to manage users, locations, categories, etc, but ARE constrained by Full Multiple Company Support if it is enabled.',
|
||||
],
|
||||
|
||||
'csv-import' => [
|
||||
'name' => 'CSV Import',
|
||||
'note' => 'This will allow users to import even if access to users, assets, etc is denied elsewhere.',
|
||||
],
|
||||
|
||||
'reports' => [
|
||||
'name' => 'Reports Access',
|
||||
'note' => 'Determines whether the user has access to the Reports section of the application.',
|
||||
],
|
||||
|
||||
'assets' =>
|
||||
[
|
||||
'name' => 'Assets',
|
||||
'note' => 'Grants access to the Assets section of the application.',
|
||||
],
|
||||
|
||||
'assetsview' => [
|
||||
'name' => 'View Assets',
|
||||
],
|
||||
|
||||
'assetscreate' => [
|
||||
'name' => 'Create New Assets',
|
||||
],
|
||||
|
||||
'assetsedit' => [
|
||||
'name' => 'Edit Assets',
|
||||
],
|
||||
|
||||
'assetsdelete' => [
|
||||
'name' => 'Delete Assets',
|
||||
],
|
||||
|
||||
'assetscheckin' => [
|
||||
'name' => 'Check In',
|
||||
'note' => 'Check assets back into inventory that are currently checked out.',
|
||||
],
|
||||
|
||||
'assetscheckout' => [
|
||||
'name' => 'Check Out',
|
||||
'note' => 'Assign assets in inventory by checking them out.',
|
||||
],
|
||||
|
||||
'assetsaudit' => [
|
||||
'name' => 'Audit Assets',
|
||||
'note' => 'Allows the user to mark an asset as physically inventoried.',
|
||||
],
|
||||
|
||||
'assetsviewrequestable' => [
|
||||
'name' => 'View Requestable Assets',
|
||||
'note' => 'Allows the user to view assets that are marked as requestable.',
|
||||
],
|
||||
|
||||
'assetsviewencrypted-custom-fields' => [
|
||||
'name' => 'View Encrypted Custom Fields',
|
||||
'note' => 'Allows the user to view and modify encrypted custom fields on assets.',
|
||||
],
|
||||
|
||||
'accessories' => [
|
||||
'name' => 'Accessories',
|
||||
'note' => 'Grants access to the Accessories section of the application.',
|
||||
],
|
||||
|
||||
'accessoriesview' => [
|
||||
'name' => 'View Accessories',
|
||||
],
|
||||
'accessoriescreate' => [
|
||||
'name' => 'Create New Accessories',
|
||||
],
|
||||
'accessoriesedit' => [
|
||||
'name' => 'Edit Accessories',
|
||||
],
|
||||
'accessoriesdelete' => [
|
||||
'name' => 'Delete Accessories',
|
||||
],
|
||||
'accessoriescheckout' => [
|
||||
'name' => 'Check Out Accessories',
|
||||
'note' => 'Assign accessories in inventory by checking them out.',
|
||||
],
|
||||
'accessoriescheckin' => [
|
||||
'name' => 'Check In Accessories',
|
||||
'note' => 'Check accessories back into inventory that are currently checked out.',
|
||||
],
|
||||
'accessoriesfiles' => [
|
||||
'name' => 'Manage Accessory Files',
|
||||
'note' => 'Allows the user to upload, download, and delete files associated with accessories.',
|
||||
],
|
||||
'consumables' => [
|
||||
'name' => 'Consumables',
|
||||
'note' => 'Grants access to the Consumables section of the application.',
|
||||
],
|
||||
'consumablesview' => [
|
||||
'name' => 'View Consumables',
|
||||
],
|
||||
'consumablescreate' => [
|
||||
'name' => 'Create New Consumables',
|
||||
],
|
||||
'consumablesedit' => [
|
||||
'name' => 'Edit Consumables',
|
||||
],
|
||||
'consumablesdelete' => [
|
||||
'name' => 'Delete Consumables',
|
||||
],
|
||||
'consumablescheckout' => [
|
||||
'name' => 'Check Out Consumables',
|
||||
'note' => 'Assign consumables in inventory by checking them out.',
|
||||
],
|
||||
'consumablesfiles' => [
|
||||
'name' => 'Manage Consumable Files',
|
||||
'note' => 'Allows the user to upload, download, and delete files associated with consumables.',
|
||||
],
|
||||
'licenses' => [
|
||||
'name' => 'Licenses',
|
||||
'note' => 'Grants access to the Licenses section of the application.',
|
||||
],
|
||||
'licensesview' => [
|
||||
'name' => 'View Licenses',
|
||||
],
|
||||
'licensescreate' => [
|
||||
'name' => 'Create New Licenses',
|
||||
],
|
||||
'licensesedit' => [
|
||||
'name' => 'Edit Licenses',
|
||||
],
|
||||
'licensesdelete' => [
|
||||
'name' => 'Delete Licenses',
|
||||
],
|
||||
'licensescheckout' => [
|
||||
'name' => 'Assign Licenses',
|
||||
'note' => 'Allows the user to assign licenses to assets or users.',
|
||||
],
|
||||
'licensescheckin' => [
|
||||
'name' => 'Unassign Licenses',
|
||||
'note' => 'Allows the user to unassign licenses from assets or users.',
|
||||
],
|
||||
'licensesfiles' => [
|
||||
'name' => 'Manage License Files',
|
||||
'note' => 'Allows the user to upload, download, and delete files associated with licenses.',
|
||||
],
|
||||
'licenseskeys' => [
|
||||
'name' => 'Manage License Keys',
|
||||
'note' => 'Allows the user to view product keys associated with licenses.',
|
||||
],
|
||||
'components' => [
|
||||
'name' => 'Components',
|
||||
'note' => 'Grants access to the Components section of the application.',
|
||||
],
|
||||
'componentsview' => [
|
||||
'name' => 'View Components',
|
||||
],
|
||||
'componentscreate' => [
|
||||
'name' => 'Create New Components',
|
||||
],
|
||||
'componentsedit' => [
|
||||
'name' => 'Edit Components',
|
||||
],
|
||||
'componentsdelete' => [
|
||||
'name' => 'Delete Components',
|
||||
],
|
||||
'componentsfiles' => [
|
||||
'name' => 'Manage Component Files',
|
||||
'note' => 'Allows the user to upload, download, and delete files associated with components.',
|
||||
],
|
||||
'componentscheckout' => [
|
||||
'name' => 'Check Out Components',
|
||||
'note' => 'Assign components in inventory by checking them out.',
|
||||
],
|
||||
'componentscheckin' => [
|
||||
'name' => 'Check In Components',
|
||||
'note' => 'Check components back into inventory that are currently checked out.',
|
||||
],
|
||||
'kits' => [
|
||||
'name' => 'Predefined Kits',
|
||||
'note' => 'Grants access to the Predefined Kits section of the application.',
|
||||
],
|
||||
'kitsview' => [
|
||||
'name' => 'View Predefined Kits',
|
||||
],
|
||||
'kitscreate' => [
|
||||
'name' => 'Create New Predefined Kits',
|
||||
],
|
||||
'kitsedit' => [
|
||||
'name' => 'Edit Predefined Kits',
|
||||
],
|
||||
'kitsdelete' => [
|
||||
'name' => 'Delete Predefined Kits',
|
||||
],
|
||||
'users' => [
|
||||
'name' => 'Users',
|
||||
'note' => 'Grants access to the Users section of the application.',
|
||||
],
|
||||
'usersview' => [
|
||||
'name' => 'View Users',
|
||||
],
|
||||
'userscreate' => [
|
||||
'name' => 'Create New Users',
|
||||
],
|
||||
'usersedit' => [
|
||||
'name' => 'Edit Users',
|
||||
],
|
||||
'usersdelete' => [
|
||||
'name' => 'Delete Users',
|
||||
],
|
||||
'models' => [
|
||||
'name' => 'Models',
|
||||
'note' => 'Grants access to the Models section of the application.',
|
||||
],
|
||||
'modelsview' => [
|
||||
'name' => 'View Models',
|
||||
],
|
||||
|
||||
'modelscreate' => [
|
||||
'name' => 'Create New Models',
|
||||
],
|
||||
'modelsedit' => [
|
||||
'name' => 'Edit Models',
|
||||
],
|
||||
'modelsdelete' => [
|
||||
'name' => 'Delete Models',
|
||||
],
|
||||
'categories' => [
|
||||
'name' => 'Categories',
|
||||
'note' => 'Grants access to the Categories section of the application.',
|
||||
],
|
||||
'categoriesview' => [
|
||||
'name' => 'View Categories',
|
||||
],
|
||||
'categoriescreate' => [
|
||||
'name' => 'Create New Categories',
|
||||
],
|
||||
'categoriesedit' => [
|
||||
'name' => 'Edit Categories',
|
||||
],
|
||||
'categoriesdelete' => [
|
||||
'name' => 'Delete Categories',
|
||||
],
|
||||
'departments' => [
|
||||
'name' => 'Departments',
|
||||
'note' => 'Grants access to the Departments section of the application.',
|
||||
],
|
||||
'departmentsview' => [
|
||||
'name' => 'View Departments',
|
||||
],
|
||||
'departmentscreate' => [
|
||||
'name' => 'Create New Departments',
|
||||
],
|
||||
'departmentsedit' => [
|
||||
'name' => 'Edit Departments',
|
||||
],
|
||||
'departmentsdelete' => [
|
||||
'name' => 'Delete Departments',
|
||||
],
|
||||
'locations' => [
|
||||
'name' => 'Locations',
|
||||
'note' => 'Grants access to the Locations section of the application.',
|
||||
],
|
||||
'locationsview' => [
|
||||
'name' => 'View Locations',
|
||||
],
|
||||
'locationscreate' => [
|
||||
'name' => 'Create New Locations',
|
||||
],
|
||||
'locationsedit' => [
|
||||
'name' => 'Edit Locations',
|
||||
],
|
||||
'locationsdelete' => [
|
||||
'name' => 'Delete Locations',
|
||||
],
|
||||
'status-labels' => [
|
||||
'name' => 'Status Labels',
|
||||
'note' => 'Grants access to the Status Labels section of the application used by Assets.',
|
||||
],
|
||||
'statuslabelsview' => [
|
||||
'name' => 'View Status Labels',
|
||||
],
|
||||
'statuslabelscreate' => [
|
||||
'name' => 'Create New Status Labels',
|
||||
],
|
||||
'statuslabelsedit' => [
|
||||
'name' => 'Edit Status Labels',
|
||||
],
|
||||
'statuslabelsdelete' => [
|
||||
'name' => 'Delete Status Labels',
|
||||
],
|
||||
'custom-fields' => [
|
||||
'name' => 'Custom Fields',
|
||||
'note' => 'Grants access to the Custom Fields section of the application used by Assets.',
|
||||
],
|
||||
'customfieldsview' => [
|
||||
'name' => 'View Custom Fields',
|
||||
],
|
||||
'customfieldscreate' => [
|
||||
'name' => 'Create New Custom Fields',
|
||||
],
|
||||
'customfieldsedit' => [
|
||||
'name' => 'Edit Custom Fields',
|
||||
],
|
||||
'customfieldsdelete' => [
|
||||
'name' => 'Delete Custom Fields',
|
||||
],
|
||||
'suppliers' => [
|
||||
'name' => 'Suppliers',
|
||||
'note' => 'Grants access to the Suppliers section of the application.',
|
||||
],
|
||||
'suppliersview' => [
|
||||
'name' => 'View Suppliers',
|
||||
],
|
||||
'supplierscreate' => [
|
||||
'name' => 'Create New Suppliers',
|
||||
],
|
||||
'suppliersedit' => [
|
||||
'name' => 'Edit Suppliers',
|
||||
],
|
||||
'suppliersdelete' => [
|
||||
'name' => 'Delete Suppliers',
|
||||
],
|
||||
'manufacturers' => [
|
||||
'name' => 'Manufacturers',
|
||||
'note' => 'Grants access to the Manufacturers section of the application.',
|
||||
],
|
||||
'manufacturersview' => [
|
||||
'name' => 'View Manufacturers',
|
||||
],
|
||||
'manufacturerscreate' => [
|
||||
'name' => 'Create New Manufacturers',
|
||||
],
|
||||
'manufacturersedit' => [
|
||||
'name' => 'Edit Manufacturers',
|
||||
],
|
||||
'manufacturersdelete' => [
|
||||
'name' => 'Delete Manufacturers',
|
||||
],
|
||||
'companies' => [
|
||||
'name' => 'Companies',
|
||||
'note' => 'Grants access to the Companies section of the application.',
|
||||
],
|
||||
'companiesview' => [
|
||||
'name' => 'View Companies',
|
||||
],
|
||||
'companiescreate' => [
|
||||
'name' => 'Create New Companies',
|
||||
],
|
||||
'companiesedit' => [
|
||||
'name' => 'Edit Companies',
|
||||
],
|
||||
'companiesdelete' => [
|
||||
'name' => 'Delete Companies',
|
||||
],
|
||||
'user-self-accounts' => [
|
||||
'name' => 'User Self Accounts',
|
||||
'note' => 'Grants non-admin users the ability to manage certain aspects of their own user accounts.',
|
||||
],
|
||||
'selftwo-factor' => [
|
||||
'name' => 'Manage Two-Factor Authentication',
|
||||
'note' => 'Allows users to enable, disable, and manage two-factor authentication for their own accounts.',
|
||||
],
|
||||
'selfapi' => [
|
||||
'name' => 'Manage API Tokens',
|
||||
'note' => 'Allows users to create, view, and revoke their own API tokens. User tokens will have the same permissions as the user who created them.',
|
||||
],
|
||||
'selfedit-location' => [
|
||||
'name' => 'Edit Location',
|
||||
'note' => 'Allows users to edit the location associated with their own user account.',
|
||||
],
|
||||
'selfcheckout-assets' => [
|
||||
'name' => 'Self Check Out Assets',
|
||||
'note' => 'Allows users to check out assets to themselves without admin intervention.',
|
||||
],
|
||||
'selfview-purchase-cost' => [
|
||||
'name' => 'View Purchase Cost',
|
||||
'note' => 'Allows users to view the purchase cost of items in their account view.',
|
||||
],
|
||||
|
||||
'depreciations' => [
|
||||
'name' => 'Depreciation Management',
|
||||
'note' => 'Allows users to manage and view asset depreciation details.',
|
||||
],
|
||||
'depreciationsview' => [
|
||||
'name' => 'View Depreciation Details',
|
||||
],
|
||||
'depreciationsedit' => [
|
||||
'name' => 'Edit Depreciation Settings',
|
||||
],
|
||||
'depreciationsdelete' => [
|
||||
'name' => 'Delete Depreciation Records',
|
||||
],
|
||||
'depreciationscreate' => [
|
||||
'name' => 'Create Depreciation Records',
|
||||
],
|
||||
|
||||
);
|
||||
|
||||
@ -135,11 +135,11 @@
|
||||
<div class="callout callout-legend col-md-12">
|
||||
<div class="col-md-10">
|
||||
<h4>
|
||||
{{ $area }}
|
||||
{{ trans('permissions.'.str_slug($area).'.name') }}
|
||||
</h4>
|
||||
|
||||
@if ($localPermission['note']!='')
|
||||
<p>{{ $localPermission['note'] }}</p>
|
||||
@if (\Lang::has('permissions.'.str_slug($area).'.note'))
|
||||
<p>{{ trans('permissions.'.str_slug($area).'.note') }}</p>
|
||||
@endif
|
||||
|
||||
|
||||
@ -196,7 +196,10 @@
|
||||
<div class="{{ ($localPermission['permission']!='superuser') ? ' nonsuperuser' : '' }}{{ ( ($localPermission['permission']!='superuser') && ($localPermission['permission']!='admin')) ? ' nonadmin' : '' }}">
|
||||
<div class="form-group" style="border-bottom: 1px solid #eee; padding-right: 9px;">
|
||||
<div class="col-md-10">
|
||||
<strong>{{ $this_permission['label'] }}</strong>{{ ($this_permission['note'] ? ' - '.$this_permission['note'] : '') }}
|
||||
<strong>{{ trans('permissions.'.str_slug($this_permission['permission']).'.name') }}</strong>
|
||||
@if (\Lang::has('permissions.'.str_slug($this_permission['permission']).'.note'))
|
||||
<p>{{ trans('permissions.'.str_slug($this_permission['permission']).'.note') }}</p>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-2 text-right">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user