Context sensitive options

English! place to talk about development, programming and coding
Post Reply
dstover
Znuny advanced
Posts: 135
Joined: 04 Jun 2013, 23:14
Znuny Version: 3.3.3
Real Name: Dan Stover
Company: EMAC, Inc.

Context sensitive options

Post by dstover »

I am looking for a way to show different options to people based on whether they are the owner or the responsible of a ticket. I am using Process Management with OTRS 3.3.3. Is there a way to display a different view of a ticket to different people?

Thanks for advance...Dan.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
dstover
Znuny advanced
Posts: 135
Joined: 04 Jun 2013, 23:14
Znuny Version: 3.3.3
Real Name: Dan Stover
Company: EMAC, Inc.

Re: Context sensitive options

Post by dstover »

FYI. I found a way to do this with ACL options. The issue is that they have to be hard-coded by user name. There are 5 ACLs for each user. My company has 40 users, therefore 200 entries. Not easily entered in by hand or updated when new users arrive. My solution is to write a script to build this ACL file in the appropriate place (in my case .../otrs/Kernel/Config/Files) under a name with extension .pm, based on the contents of the users database table (where all the IDs are kept). After this script runs and the file is built, you can run the otrs/bin/otrs.RebuildConfig.pl program to rebuild the configuration (I also restart Scheduler for good measure). All of this can be put in a script to be run from a cron job.

Within a process management work flow, what this gives me is different Activity Dialogs (basically data entry screen options that look like tabs on the ticket itself) based on whether the logged in person is the owner or the responsible person.

Have a nice day...Dan.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
Post Reply