[Solved] Hide Delete Button from CMDB

Moderator: crythias

Post Reply
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

Post by chrotha »

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
Last edited by chrotha on 22 Jul 2022, 15:58, edited 1 time in total.
root
Administrator
Posts: 3965
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

Post by root »

Hi,

Adding this to Kernel/Config.pm works fine for me:

Code: Select all

delete $Self->{'ITSMConfigItem::Frontend::MenuModule'}->{'700-ConfigItemDelete'};
Anyway, you should consider to upgrade...

- 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 ?
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

Post by chrotha »

Thanks Roy.
Worked like a charm.

Setting as Solved :)
Post Reply