You are not logged in.
Pages: 1
Hello.
The user can add the document while processing the ticket. But I don't want to give him permission to view all the headlines. Can I hide them and set one as default, eg "ticket documents"? If yes - how?
--
GLPI 10.0.7
GLPI-Inventory 1.2.1
Ubuntu Server 20.04 LTS
Offline
OK I found it. Setup > General > Assistance tab > Default heading when adding a document to a ticket
But user still can change it. I need to hide this option.
--
GLPI 10.0.7
GLPI-Inventory 1.2.1
Ubuntu Server 20.04 LTS
Offline
OK I found it. Setup > General > Assistance tab > Default heading when adding a document to a ticket
But user still can change it. I need to hide this option.
Please tell me, have you or someone found a solution to hide this from users?
Linux ubuntu-22.04.2-live-server-amd64, PHP 8.1.2, Apache 2.4.52, MariaDB 10.6.12, GLPI 10.0.15.
GLPI Inventory 1.3.5, PHP SAML 1.3.0, Oauth IMAP 1.4.3, Additional Fields, 1.21.8,Ticket Cleaner.
Offline
I quickly found this crutch.... I don’t know how safe it is...
I clicked everything about this topic in GLPI - there seem to be no new bugs anywhere.
/glpi_data/www/html/glpi/templates/components/itilobject/timeline/form_document_item.html.twig
{{ fields.dropdownField(
'1DocumentCategory',
'documentcategories_id',
null,
__("Heading"),
{
'label_class': 'col-xxl-3',
'field_class': 'col-xxl-11',
'full_width': true,
'is_horizontal': false
}
) }}
"messed up" the variable name by adding "1". now it is displayed as we need...
Please tell me if this change has any bad consequences.
Last edited by sIBajHYG (2024-03-05 22:16:47)
Linux ubuntu-22.04.2-live-server-amd64, PHP 8.1.2, Apache 2.4.52, MariaDB 10.6.12, GLPI 10.0.15.
GLPI Inventory 1.3.5, PHP SAML 1.3.0, Oauth IMAP 1.4.3, Additional Fields, 1.21.8,Ticket Cleaner.
Offline
Pages: 1