Hide Resolve in 4.0.5

Hey Guys,
I just upgraded to 4.0.5 in our testing environment and was trying to test the new config option HideResolveActionsWithDependencies and ForceApprovalsView, which I like the idea of. Unfortunately, I can not get HideResolve to work. I have the configuration below but the second I create a ticket with an approval or a ticket with a dependencies, I look at the action menu and resolve and reject are both there. Any ideas?

Set($HideResolveActionsWithDependencies, 1); # I see this set in the System Configuration webpage in RT
Set($ForceApprovalsView, 1);

Thanks

Christopher Lasater
Technology Analyst I
Taleo

T. 904.520.6046
E. clasater@taleo.commailto:clasater@taleo.com
[cid:image001.jpg@01CCEB49.0DCB77C0]http://www.taleo.com/
This email and any attachments thereto may contain private, confidential, and privileged material for the sole use of the intended recipient named in the original email to which this message was attached. Any review, copying, or distribution of this email (or any attachments thereto) by others is strictly prohibited. If you are not the intended recipient, please return this email to the sender immediately and permanently delete the original and any copies of this email and any attachments thereto.

Hey Guys,

           I just upgraded to 4.0.5 in our testing environment and

was trying to test the new config option
HideResolveActionsWithDependencies and ForceApprovalsView, which I like
the idea of. Unfortunately, I can not get HideResolve to work. I have
the configuration below but the second I create a ticket with an
approval or a ticket with a dependencies, I look at the action menu and
resolve and reject are both there. Any ideas?

Works for me on a fresh 4.0.5. What’s the rest of your config?

Thomas

At home now, could the lifecycles impact this? I can email this tomorrow.------Original Message------
From: Thomas Sibley
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Hide Resolve in 4.0.5
Sent: Feb 14, 2012 7:57 PM

On 02/14/2012 06:54 PM, Christopher Lasater wrote:

Hey Guys,

           I just upgraded to 4.0.5 in our testing environment and

was trying to test the new config option
HideResolveActionsWithDependencies and ForceApprovalsView, which I like
the idea of. Unfortunately, I can not get HideResolve to work. I have
the configuration below but the second I create a ticket with an
approval or a ticket with a dependencies, I look at the action menu and
resolve and reject are both there. Any ideas?

Works for me on a fresh 4.0.5. What’s the rest of your config?

Thomas
RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston March 5 & 6, 2012

I removed the External Auth Config, LDAP Importer, and Logging, since they should not be related. I removed the lifecycles for testing and the issues still occurs, and also tested with and without devel mode. I do not see much in here that could affect this.

Set($HideResolveActionsWithDependencies, 1); #Hides the Resolve action when tickets
#have dependecies
Set($ForceApprovalsView, 1); # Redirects user to approval page when they try to
# view an approval ticket

Full Text Search

#Postgres
Set( %FullTextSearch,
Enable => 1,
Indexed => 1,
Column => ‘ContentIndex’,
Table => ‘Attachments’,
);

Plugins

Set ( %GnuPG, Enable => 0);
Set ( @Plugins, qw(RT::Authen::ExternalAuth) );

WebServer

Set ($WebPort , 2080);
Set ( $rtname, ‘ourwebpage’); # change will impact RTAddressRegexp
Set ( $LogoLinkURL, “http://ourwebpage.com”);
Set ($WebPath , “”);
Set ($WebBaseURL , “http://ourwebpage.com”);
Set ($WebURL , $WebBaseURL . “:3001/”);
Set ($WebDomain, “ourserver.fq.dn”);
Set ($CanonicalizeRedirectURLs, 1);
Set ($Timezone , ‘US/Eastern’);

General Settings

Set ($Organization, “company”);
#Set ($DevelMode => 1); # Dev mode for making Web changes instant
Set ($RememberDefaultQueue => 1); # Drop down Queue will stay the same
Set ($ShowMoreAboutPrivilegedUsers => 1);
Set ($RTAddressRegexp, $rtname . ‘$’);
Set ($SimplifiedRecipients, 1); # Shows simple list of who will receive and email
Set ($UseSQLForACLChecks, 1);

I removed the External Auth Config, LDAP Importer, and Logging, since
they should not be related. I removed the lifecycles for testing and
the issues still occurs, and also tested with and without devel mode.
I do not see much in here that could affect this.

I assume you’re restarting Apache after config changes and clearing the
mason cache?

Can you show us a screenshot of the ticket page and the actions menu?

Do you have any local modifications to RT?

Please keep replies on the list.On 02/15/2012 11:37 AM, Christopher Lasater wrote:

I had develmode on to go around the caching, but I still cleared the cache

Apachectl stop
Rm -rf /opt/rt4/var/mason_data/obj/*
Apachectl start

Then did a ctrl-F5 in firefox and took the attached screenshot.

You’re going to have to show us more ticket data. I can’t reproduce
this locally. Can you come up with a simple test procedure?

Also, any local mods?

Please send the full output of your System Configuration page.

Sorry, must have hit reply instead of reply all.

I created a brand new Queue called test and gave my user the following permissions

CreateTicket
ReplyTicket
SeeQueue
ShowTicket
ModifyTicket

I created a ticket, then clicked on the create next to Depends on, which should clone the ticket and add it to depends on. Once that was done I went back to the original ticket went to actions and took a screenshot.

I created a brand new Queue called test and gave my user the
following permissions

CreateTicket ReplyTicket SeeQueue ShowTicket ModifyTicket

Your user will still pick up permissions from global group/role/user rights.

I created a ticket, then clicked on the create next to Depends on,
which should clone the ticket and add it to depends on. Once that
was done I went back to the original ticket went to actions and took
a screenshot.

This works as expected for me locally. There is likely something
special about your instance.

Again, do you have any local modifications to RT?

Please also send the full output of the System Configuration page.

Thomas

Found the Problem… I had the Elements/Tabs file in my local folder. Thanks for the Help.