mirror of
https://github.com/itflow-org/itflow
synced 2026-05-06 03:07:48 +00:00
Enforce Credential Permissions on contact, asset details both full page and modals
This commit is contained in:
@@ -349,10 +349,7 @@ $sql_asset_retired = mysqli_query(
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<?php
|
||||
// Credential Permission check
|
||||
if (lookupUserPermission('module_credential')) {
|
||||
if (mysqli_num_rows($sql_favorite_credentials) > 0) { ?>
|
||||
<?php if ((mysqli_num_rows($sql_favorite_credentials) > 0) && (lookupUserPermission('module_credential'))) { ?>
|
||||
|
||||
<div class="col-md-4">
|
||||
|
||||
@@ -414,7 +411,7 @@ $sql_asset_retired = mysqli_query(
|
||||
|
||||
</div>
|
||||
|
||||
<?php } } ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (mysqli_num_rows($sql_shared_items) > 0) { ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user