mirror of
https://github.com/itflow-org/itflow
synced 2026-05-25 12:18:19 +00:00
Enforce Credential Permissions on contact, asset details both full page and modals
This commit is contained in:
@@ -615,6 +615,8 @@ if (isset($_GET['asset_id'])) {
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<?php if (lookupUserPermission('module_credential')) { // Begin Credential Enforcement ?>
|
||||
|
||||
<div class="card card-dark <?php if ($credential_count == 0) { echo "d-none"; } ?>">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title"><i class="fa fa-fw fa-key mr-2"></i>Credentials</h3>
|
||||
@@ -744,6 +746,8 @@ if (isset($_GET['asset_id'])) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php } // End Credential Enforcement ?>
|
||||
|
||||
<div class="card card-dark <?php if ($software_count == 0) { echo "d-none"; } ?>">
|
||||
<div class="card-header py-2">
|
||||
<h3 class="card-title mt-2"><i class="fa fa-fw fa-cube mr-2"></i>Licenses</h3>
|
||||
|
||||
Reference in New Issue
Block a user