Enable only sub-services, not the parent service

Moderator: crythias

Post Reply
estomagado
Znuny newbie
Posts: 44
Joined: 20 Sep 2019, 16:24
Znuny Version: 6.0.36
Real Name: Henrique Ulbrich
Company: Design for Context

Enable only sub-services, not the parent service

Post by estomagado »

Hello again.
Lots of questions today.
Please be patience with the rookie :)

Our service set is not that large, but it's quite complete for an IT servicedesk. It contains services and subservices. Here it is on Customer.pl New Ticket form:

Sub_Services.png

It's in portuguese, but you get the idea.

The service highlighted in orange is the parent service. In reality, it's not reeeealy a service, for my IT department. It's there just to allow me to have a selection of subservices, which are the real requests. Users are supposed to choose only the subservices, not the parent service. So, I want the parent service displayed but greyed out, non-clickable.

I tried setting the parent service as invalid and maintaining the child services as valid, but this backfired - all subservices below the invalid parent service were not displayed anymore.

Can't think of anything else to try. My repertoire only goes that far.

Is there a way to do that, I mean, show a parent service but prevent users from selecting it, only its children?

Any help would be appreciated, thanks!
You do not have the required permissions to view the files attached to this post.
--
Your pal
Estomagado

Znuny 6.0.36 Vanilla (no add-ons installed, no fancy customization)
MySQL BD backend for external customer users
LDAP (AD) backend for internal customer users & agents
root
Administrator
Posts: 3968
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Enable only sub-services, not the parent service

Post by root »

Hi,

Check the SysConfig Ticket::Service::KeepChildren

- 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 ?
estomagado
Znuny newbie
Posts: 44
Joined: 20 Sep 2019, 16:24
Znuny Version: 6.0.36
Real Name: Henrique Ulbrich
Company: Design for Context

Re: Enable only sub-services, not the parent service

Post by estomagado »

Thank you, root!

You saved my face three or four times now!

I know it must be in the documentation (believe me, I've read it many times) but it's a little bit daunting to navigate through all those SysConfig entries. I'm amazed how you and others manage to know all of these by heart!

Now I'm off to find the CSS entryes to change that light gray :)

Thank you!
--
Your pal
Estomagado

Znuny 6.0.36 Vanilla (no add-ons installed, no fancy customization)
MySQL BD backend for external customer users
LDAP (AD) backend for internal customer users & agents
wurzel
Znuny guru
Posts: 3232
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Enable only sub-services, not the parent service

Post by wurzel »

Hi,

you should also consider using ACL

Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
Post Reply