Better explanation of roles

This commit is contained in:
snipe
2016-01-13 04:52:26 -08:00
parent b30edfd9d6
commit f98b4095a2
3 changed files with 8 additions and 2 deletions
+4
View File
@@ -6,6 +6,7 @@ return array(
array(
'permission' => 'superuser',
'label' => 'Super User',
'note' => 'Determines whether the user has full access to all aspects of the admin. ',
),
),
@@ -13,6 +14,7 @@ return array(
array(
'permission' => 'admin',
'label' => 'Admin Rights',
'note' => 'Determines whether the user has access to most aspects of the admin.',
),
),
@@ -20,6 +22,7 @@ return array(
array(
'permission' => 'reports',
'label' => 'View Reports',
'note' => 'Determines whether the user has the abiity to view reports.',
),
),
@@ -27,6 +30,7 @@ return array(
array(
'permission' => 'license_keys',
'label' => 'View License Keys',
'note' => 'Determines whether the user has the ability to view the license keys assigned to them in their own profile. (Usually granted for lower-level permissions that wouldn\'t normally have access.)',
),
),
+1 -1
View File
@@ -1,5 +1,5 @@
<?php
return array (
'app_version' => 'v2.1.0-pre',
'hash_version' => 'v2.1.0-pre-30-g8ea23e6',
'hash_version' => 'v2.1.0-pre-34-gb16ea61',
);
+3 -1
View File
@@ -132,7 +132,7 @@
</div>
</div>
<!-- Company -->
<!-- Company -->
@if (Company::canManageUsersCompanies())
<!-- Company -->
<div class="form-group {{ $errors->has('company_id') ? 'has-error' : '' }}">
@@ -289,6 +289,8 @@
<legend>{{ $area }}</legend>
@foreach ($permissions as $permission)
<p>{{{ $permission['note'] }}}</p>
<div class="form-group">
<label class="col-md-3 control-label" for="{{{ $permission['label'] }}}">
{{{ $permission['label'] }}}