mirror of
https://github.com/itflow-org/itflow
synced 2026-05-05 10:47:48 +00:00
Client Overview: Enforce visibility permissions on credentials in client overview
This commit is contained in:
@@ -349,7 +349,10 @@ $sql_asset_retired = mysqli_query(
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<?php if (mysqli_num_rows($sql_favorite_credentials) > 0) { ?>
|
||||
<?php
|
||||
// Credential Permission check
|
||||
if (lookupUserPermission('module_credential')) {
|
||||
if (mysqli_num_rows($sql_favorite_credentials) > 0) { ?>
|
||||
|
||||
<div class="col-md-4">
|
||||
|
||||
@@ -411,7 +414,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