Merge branch 'ent-12243-no-funciona-integracion-pandora-pitsm-a-nivel-usuario' into 'develop'

Hide test button and setup in ITSM pandora_enterprise#12243

See merge request artica/pandorafms!6629
This commit is contained in:
Daniel Rodriguez 2023-11-29 17:52:26 +00:00
commit 7f4a928f35
2 changed files with 6 additions and 2 deletions

View File

@ -187,7 +187,8 @@ $button_test .= '&nbsp;<span id="ITSM-message" class="invisible"></span>';
$row['control'] = html_print_label_input_block( $row['control'] = html_print_label_input_block(
__('Test connection pandora to ITSM'), __('Test connection pandora to ITSM'),
$button_test $button_test,
['div_class' => 'ITSM-remote-setup-ITSM_token']
); );
$table_remote->data['ITSM_test'] = $row; $table_remote->data['ITSM_test'] = $row;

View File

@ -1120,7 +1120,10 @@ class Manager
} }
$onheader = []; $onheader = [];
if (users_is_admin() === true) {
$onheader['configure'] = $setup_tab; $onheader['configure'] = $setup_tab;
}
$onheader['dashboard'] = $dashboard_tab; $onheader['dashboard'] = $dashboard_tab;
$onheader['list'] = $list_tab; $onheader['list'] = $list_tab;
if ($idIncidence !== 0) { if ($idIncidence !== 0) {