Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Starting an external executable from Trac

Received: by 10.50.153.230 with SMTP id vj6mr2209696igb.3.1351889238445;
        Fri, 02 Nov 2012 13:47:18 -0700 (PDT)
X-BeenThere: trac-users@googlegroups.com
Received: by 10.50.12.233 with SMTP id b9ls4664265igc.4.gmail; Fri, 02 Nov
 2012 13:47:08 -0700 (PDT)
Received: by 10.50.213.99 with SMTP id nr3mr2370063igc.2.1351889228697;
        Fri, 02 Nov 2012 13:47:08 -0700 (PDT)
Received: by 10.50.213.99 with SMTP id nr3mr2370060igc.2.1351889228672;
        Fri, 02 Nov 2012 13:47:08 -0700 (PDT)
Return-Path: <cpatter...@camber.com>
Received: from p02c11o141.mxlogic.net (p02c11o141.mxlogic.net. [208.65.144.74])
        by gmr-mx.google.com with ESMTPS id ul6si429636igb.2.2012.11.02.13.47.08
        (version=TLSv1/SSLv3 cipher=OTHER);
        Fri, 02 Nov 2012 13:47:08 -0700 (PDT)
Received-SPF: neutral (google.com: 208.65.144.74 is neither permitted nor denied by best guess record for domain of cpatter...@camber.com) client-ip=208.65.144.74;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 208.65.144.74 is neither permitted nor denied by best guess record for domain of cpatter...@camber.com) smtp.mail=cpatter...@camber.com
Received: from unknown [69.147.143.32]
	by p02c11o141.mxlogic.net(mxl_mta-6.15.0-1)
	with SMTP id b4134905.0.331722.00-359.783936.p02c11o141.mxlogic.net (envelope-from <cpatter...@camber.com>);
	Fri, 02 Nov 2012 14:47:08 -0600 (MDT)
X-MXL-Hash: 5094314c23aba470-94911c7caa2bad8a22619e748b76c343bb614870
Received: from THUNDERBOLT.camber.com ([fe80::819e:8430:1d47:ee2a]) by
 LIGHTNING.camber.com ([::1]) with mapi id 14.01.0270.001; Fri, 2 Nov 2012
 15:47:04 -0500
From: "Patterson, Candace" <cpatter...@camber.com>
To: "'trac-users@googlegroups.com'" <trac-users@googlegroups.com>
Subject: RE: [Trac] Starting an external executable from Trac
Thread-Topic: [Trac] Starting an external executable from Trac
Thread-Index: AQHNtdASSmGBmjRiEkypdGz/7GKqjJfUunCAgABX8wCAAeOoAP//9clggABs3wD//7H/sA==
Date: Fri, 2 Nov 2012 20:47:03 +0000
Message-ID: <DED0A51A65F4F744B5066A6C186088F516C3BF14@THUNDERBOLT.camber.com>
References: <DED0A51A65F4F744B5066A6C186088F516C33...@THUNDERBOLT.camber.com>
 <4F7A7621A511B945915EB16D655311D812DC479...@GBOXFW99E01MSX.ww005.siemens.net>
 <DED0A51A65F4F744B5066A6C186088F516C3A...@THUNDERBOLT.camber.com>
 <95c45446-6abb-49f2-9101-7946763c7cef@googlegroups.com>
 <DED0A51A65F4F744B5066A6C186088F516C3B...@THUNDERBOLT.camber.com>
 <257c02ac-fa8c-459e-a670-252b2ce1ec07@googlegroups.com>
In-Reply-To: <257c02ac-fa8c-459e-a670-252b2ce1ec07@googlegroups.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.9.3.32]
Content-Type: multipart/alternative;
	boundary="_000_DED0A51A65F4F744B5066A6C186088F516C3BF14THUNDERBOLTcamb_"
MIME-Version: 1.0
X-Spam: [F=0.2000000000; CM=0.500; S=0.200(2010122901)]
X-MAIL-FROM: <cpatter...@camber.com>
X-SOURCE-IP: [(unknown)]
X-AnalysisOut: [v=2.0 cv=IbowrxWa c=1 sm=0 a=QVvSjEPZa1+rMF5eCailCw==:17 a]
X-AnalysisOut: [=Sj3FUbIzG0oA:10 a=52cUj9QeOokA:10 a=zOh1u_rFY-IA:10 a=BLc]
X-AnalysisOut: [eEmwcHowA:10 a=xqWC_Br6kY4A:10 a=21z-2dhmAAAA:8 a=1wkVpQqd]
X-AnalysisOut: [YQYA:10 a=GT7hU1r2sfUsIKTRBH0A:9 a=CjuIK1q_8ugA:10 a=yMhMj]
X-AnalysisOut: [lubAAAA:8 a=SSmOFEACAAAA:8 a=jymaqAHxGUcu0j0oiRAA:9 a=gKO2]
X-AnalysisOut: [Hq4RSVkA:10 a=UiCQ7L4-1S4A:10 a=hTZeC7Yk6K0A:10 a=frz4AuCg]
X-AnalysisOut: [-hUA:10 a=FhHT91uXGv8mvflp:21]

--_000_DED0A51A65F4F744B5066A6C186088F516C3BF14THUNDERBOLTcamb_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Thanks.  I loaded the plugin, and it works.  Is it possible to allow users =
that do not have admin permissions to access this API?
 If you'd like to allow access to users that don't have TICKET_ADMIN to acc=
ess the panel, you'll need to modify customfieldadmin/admin.py to replace t=
he two instances of TICKET_ADMIN with some other permission.

p.s. I encourage you to not top post ;)

Thanks a lot!  Changing the admin.py file worked!

--_000_DED0A51A65F4F744B5066A6C186088F516C3BF14THUNDERBOLTcamb_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">Thanks.&nbsp; I loaded the plugin, and =
it works.&nbsp; Is it possible to allow users that do not have admin
 permissions to access this API?</span><o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;If you'd like to allow access to users that do=
n't have TICKET_ADMIN to access the panel, you'll need to modify&nbsp;custo=
mfieldadmin/admin.py&nbsp;to replace the two instances of TICKET_ADMIN with=
 some other permission.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">p.s. I encourage you to not top post ;)<o:p></o:p></=
p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#C00000">Thanks a lot!&nbsp; Chang=
ing the admin.py file worked!</span><span style=3D"color:#C00000"><o:p></o:=
p></span></p>
</div>
</div>
</body>
</html>

--_000_DED0A51A65F4F744B5066A6C186088F516C3BF14THUNDERBOLTcamb_--