Enforce Credential Permissions on contact, asset details both full page and modals

This commit is contained in:
johnnyq
2026-05-04 15:30:33 -04:00
parent 67f9f9ec76
commit a7c4136d60
5 changed files with 17 additions and 9 deletions

View File

@@ -495,7 +495,7 @@ ob_start();
</div>
<?php } ?>
<?php if ($credential_count) { ?>
<?php if (lookupUserPermission('module_credential') && ($credential_count)) { ?>
<div class="tab-pane fade" id="pills-asset-credentials">
<div class="table-responsive-sm-sm">
<table class="table table-sm table-striped table-borderless table-hover">