[Rt-devel] RT setting of allowed home page components partially ignored.

Jason A. Smith smithj4 at bnl.gov
Mon Oct 12 15:44:31 EDT 2009

I was trying to modify the RT config setting $HomepageComponents to
remove the QuickCreate option, but it wasn't working.  Looking at the
Elements/MyRT code, I see a comment that seems to explain why:

 66 # XXX: we don't use this, but should.
 67 my %allowed_components = map {$_ => 1} @{RT->Config->Get('HomepageComponents')};

I copied this to my local dir to test out a modification to make this
work, see attached patch.  It seems to work for me, but maybe you had
another idea on how to fix this?  I checked 3.8.6rc1 and this hasn't
been fixed yet.


|  Jason A. Smith                          Email:  smithj4 at bnl.gov |
|  Atlas Computing Facility, Bldg. 510M    Phone: +1-631-344-4226  |
|  Brookhaven National Lab, P.O. Box 5000  Fax:   +1-631-344-7616  |
|  Upton, NY 11973-5000,  U.S.A.                                   |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rt3-allowed_components.patch
Type: text/x-patch
Size: 506 bytes
Desc: not available
Url : http://lists.bestpractical.com/pipermail/rt-devel/attachments/20091012/406703af/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3906 bytes
Desc: not available
Url : http://lists.bestpractical.com/pipermail/rt-devel/attachments/20091012/406703af/attachment-0001.bin 

More information about the Rt-devel mailing list