Re: [rt-users] Limiting candidate addresses for AdminCC

2013-03-15 Thread Kevin Falcone
On Thu, Mar 14, 2013 at 03:34:03PM -0700, Ram wrote:
>I'm looking to restrict what addresses can be added as AdminCC.
>The idea is to prevent our staff from errantly adding an external party as 
> an AdminCC on a
>ticket because we don't want external parties seeing comments. Ideally 
> this would be done by
>requiring that AdminCCs be members of a group that is the authorization 
> mechanism so we can
>add or remove users to that group (likely to be our entire Staff group).
>What's the right way to do this?

Unfortunately, the right way to do this is to overlay
Ticket->_AddWatcher and add an additional check there.  This is in
addition to tweaking the autocompleter not to return people outside
your group.  You could probably do it by running around in the UI and
checking, but there are a number of places to do it.

>On a related note what's the Right to grant (or prevent) adding a queue 
> AdminCC?

I'm pretty sure you need AdminQueue to affect Watchers on a Queue
level.

-kevin


pgp8Qq2yTVU0G.pgp
Description: PGP signature


-- 
RT training in Amsterdam, March 20-21: 
http://bestpractical.com/services/training.html

Help improve RT by taking our user survey: 
https://www.surveymonkey.com/s/N23JW9T

[rt-users] People section enhancement possible?

2013-03-15 Thread Andre.Schmelzer
Dear community,

I wonder if it would be possible to add new fields (roles) to the 'People' 
section.
We intend to have some additional fields like 'Developer' and 'Tester'...
I've been searching the mailing list and documentation for hours now but still 
have no idea whether this is possible or how to achieve this.

We're still running RT 3.8.8 but want to upgrade to RT 4.0.10 soon.

Any help would be highly appreciated.

Thanks & regards,

André Schmelzer



-- 
RT training in Amsterdam, March 20-21: 
http://bestpractical.com/services/training.html

Help improve RT by taking our user survey: 
https://www.surveymonkey.com/s/N23JW9T

[rt-users] Code error following http://requesttracker.wikia.com/wiki/QuickTicket

2013-03-15 Thread Raymond Corbett
Found this link to help me put custom fields into the QuickCreate portlet.

Followed all along well.

Get the following error on compile. Anyone have any idea what I might be 
doing wrong.

Line in question  line  86  which  reads   var defaultQueue = '<% $defaultQueue 
%>';

});
var defaultQueue = '<% $defaultQueue %>';
if(defaultQueue == "") {
defaultQueue = 
jQuery('#quick-ticket').find('.select-queue[name=Queue]').children().first().text();
}
updateCustomFields(defaultQueue);

 });


Error log is:

torrepo:/opt/rt4/var # [Fri Mar 15 18:11:56 2013] [error]: Error during 
compilation of
/n/software/linux/servers/rt4/local/html/Elements/QuickTicket:
Global symbol "$defaultQueue" requires explicit package name at
/n/software/linux/servers/rt4/local/html/Elements/QuickTicket line 86.

Stack:
  [/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Interp.pm:450]
  [/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm:1127]
  [/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm:1060]
  [/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm:1239]
  [/n/software/linux/servers/rt4/share/html/Elements/MyRT:95]
  [/n/software/linux/servers/rt4/local/html/index.html:78]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:634]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:335]
  [/n/software/linux/servers/rt4/share/html/autohandler:53] 
(/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:208)


[ARC]

Ray Corbett  Technology Projects Manager

p: 416.682.5200 x5232  | f: 416.682.5209
Arc Productions Ltd. | 230 Richmond Street East | Toronto, ON M5A 1P4
www.arcproductions.com



<>

-- 
RT training in Amsterdam, March 20-21: 
http://bestpractical.com/services/training.html

Help improve RT by taking our user survey: 
https://www.surveymonkey.com/s/N23JW9T

Re: [rt-users] Unable to configure article classes in 4.0.10

2013-03-15 Thread Chris Manly
I ended up copying the code for 4.0.6 from my dev box to the prod install,
and things work as you expect.  If I switch it to 4.0.10, the config menus
disappear again.

So there's definitely something about 4.0.10 in my prod environment.  For
now, we go forward on 4.0.6 and as time permits I'll play and see what I
can figure out.

-- 
Christopher Manly
Coordinator, Library Systems
Cornell University Library Information Technologies
c...@cornell.edu
607-255-3344




On 3/5/13 4:49 PM, "Kevin Falcone"  wrote:

>On Tue, Mar 05, 2013 at 09:24:38PM +, Chris Manly wrote:
>>When we create a new article class, none of the configuration
>>options appear on the right hand
>>side of /Admin/Articles/Classes/Modify.html.  So, we can't make the
>>new class apply to a
>>queue. However, for the class that I created on the 4.0.6 system (I
>>then copied over the
>>database to the "prod" install), the config options appear normally.
>>All of the users who are attempting to set up the classes have
>>SuperUser privs.
>>Am I just missing something obvious, or did I trip on a bug in
>>4.0.10?  Or, is there somewhere
>
>I'm not aware of a bug in 4.0.10 around this and in fact it works fine
>for me on newly created Classes.
>
>What's in your logs.
>
>What arguments are being passed to Modify.html in the URL on pages
>where the links don't show up vs those where they do.
>
>-kevin




-- 
RT training in Amsterdam, March 20-21: 
http://bestpractical.com/services/training.html

Help improve RT by taking our user survey: 
https://www.surveymonkey.com/s/N23JW9T


Re: [rt-users] Code error following http://requesttracker.wikia.com/wiki/QuickTicket

2013-03-15 Thread Raymond Corbett
The link to the wiki is:

http://requesttracker.wikia.com/wiki/QuickTicket#Add_custom_fields_to_portlet

From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Raymond Corbett
Sent: Friday, March 15, 2013 3:01 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Code error following 
http://requesttracker.wikia.com/wiki/QuickTicket

Found this link to help me put custom fields into the QuickCreate portlet.

Followed all along well.

Get the following error on compile. Anyone have any idea what I might be 
doing wrong.

Line in question  line  86  which  reads   var defaultQueue = '<% $defaultQueue 
%>';

});
var defaultQueue = '<% $defaultQueue %>';
if(defaultQueue == "") {
defaultQueue = 
jQuery('#quick-ticket').find('.select-queue[name=Queue]').children().first().text();
}
updateCustomFields(defaultQueue);

 });


Error log is:

torrepo:/opt/rt4/var # [Fri Mar 15 18:11:56 2013] [error]: Error during 
compilation of
/n/software/linux/servers/rt4/local/html/Elements/QuickTicket:
Global symbol "$defaultQueue" requires explicit package name at
/n/software/linux/servers/rt4/local/html/Elements/QuickTicket line 86.

Stack:
  [/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Interp.pm:450]
  [/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm:1127]
  [/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm:1060]
  [/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm:1239]
  [/n/software/linux/servers/rt4/share/html/Elements/MyRT:95]
  [/n/software/linux/servers/rt4/local/html/index.html:78]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:634]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:335]
  [/n/software/linux/servers/rt4/share/html/autohandler:53] 
(/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:208)


[ARC]

Ray Corbett  Technology Projects Manager

p: 416.682.5200 x5232  | f: 416.682.5209
Arc Productions Ltd. | 230 Richmond Street East | Toronto, ON M5A 1P4
www.arcproductions.com



<>

-- 
RT training in Amsterdam, March 20-21: 
http://bestpractical.com/services/training.html

Help improve RT by taking our user survey: 
https://www.surveymonkey.com/s/N23JW9T