Hello everyone,
I've been trying to hide remove the "Delete" button from the CMDB CI Menu, but without Success.
I tried disabling the Delete Option, but that is not possible.
Is there anyway to remove the button?
I'm using OTRS 6.0.10 with CentOS 7.
Thanks in advance
			
			
													[Solved] Hide Delete Button from CMDB
Moderator: crythias
- 
				chrotha
 - Znuny newbie
 - Posts: 93
 - Joined: 29 Jun 2018, 13:44
 - Znuny Version: 6.x.x/7.0.x
 - Real Name: Ruben Sardinha
 
[Solved] Hide Delete Button from CMDB
					Last edited by chrotha on 22 Jul 2022, 15:58, edited 1 time in total.
									
			
						
										
						- 
				root
 - Administrator
 - Posts: 4281
 - Joined: 18 Dec 2007, 12:23
 - Znuny Version: Znuny and Znuny LTS
 - Real Name: Roy Kaldung
 - Company: Znuny
 - Contact:
 
Re: Hide Delete Button from CMDB
Hi,
Adding this to Kernel/Config.pm works fine for me:
Anyway, you should consider to upgrade...
- Roy
			
			
									
						
							Adding this to Kernel/Config.pm works fine for me:
Code: Select all
delete $Self->{'ITSMConfigItem::Frontend::MenuModule'}->{'700-ConfigItemDelete'};- Roy
Znuny and Znuny LTS running on  CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
			
						Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
- 
				chrotha
 - Znuny newbie
 - Posts: 93
 - Joined: 29 Jun 2018, 13:44
 - Znuny Version: 6.x.x/7.0.x
 - Real Name: Ruben Sardinha
 
Re: [Solved] Hide Delete Button from CMDB
Thanks Roy.
Worked like a charm.
Setting as Solved
			
			
									
						
										
						Worked like a charm.
Setting as Solved