I just rolled RT 1.3.10. I’ve documented most of the changes below.
(Highlights include ACLs and the start of a cli admin tool.)
In addition to the listed stuff, there were a number of little bug
fixes and tweaks and some work on the incoming mail gateway.
This seems to basically install and run out of the box for me.
But I’d be surprised if it did that for anyone else
Don’t run this in production. But install it on your staging
server, if you feel bored.
Next up, rolling in the preliminary oracle port that came in
today’s email from Dave Morgan.
----- Forwarded message from email@example.com -----From: firstname.lastname@example.org
Date: Wed, 2 Aug 2000 00:20:07 -0400 (EDT)
Subject: [rt-commit] CVS commit: rt
List-Id: Gets mail of RT CVS commits <rt-commit.lists.fsck.com>
Module Name: rt
Committed By: jesse
Date: Wed Aug 2 04:20:06 UTC 2000
rt: Makefile NEWS TODO
rt/etc: config.pm schema.mysql
rt/lib/RT: ACE.pm ACL.pm CurrentUser.pm Date.pm Queue.pm Record.pm
Ticket.pm Tickets.pm User.pm
rt/lib/rt/ui/cli: admin.pm manipulate.pm
Weekend of 1 Aug 2000
I spent the weekend in DC visiting family. This meant I got a bit of
code written Sadly, I have no access to the CVS server,
so I’ll be batching a bunch of commits.
Enabled CLI admin tool
Added ACL listing functionality to the CLI admin tool.
Enhanced RT::Queue->Grant such that it works with the structure of RT2
Made the Logging framework actually log errors to STDERR.
(This makes debugging the CLI tools much easier. It also means
that the cli tools explain why they’re dying.)
Fully expunged use of Mysql’s SQL keyword “now()”. I’d have left this
stuff in, except mysql doesn’t seem to deal well with the idea that the
entire world isn’t one timezone. On top of that, it doesn’t seem to
have a way to force it into GMT mode that doesn’t involve modifying init
Did a whole bunch more work on the ACL checking in RT::User
Wrote up some preliminary docs on local hacks to RT
Added in a routine to allow local canonicalization of email addresses
Added in the concept of “Disabled users” To preserve RT2’s database
Integrity, whacking user accounts would be a bad thing. So, instead,
we’ve got the concept of ‘disabled’ users. A disabled user fails ANY
ACL check, ANY password check and doesn’t appear in any lists of ACLs.
(note that the lastmost statement isn’t yet true)
rtadmin user -enable and rtadmin user -disable now work.
ACLs are now enforced for many ticket related actions.
(this does mean that you’ll want to insert some acls like those below)
INSERT INTO ACL VALUES (1,0,‘User’,‘SuperUser’,‘Queue’,0);
INSERT INTO ACL VALUES (2,3,‘User’,‘CreateTicket’,‘Queue’,0);
INSERT INTO ACL VALUES (3,3,‘User’,‘ShowTicket’,‘Ticket’,0);
INSERT INTO ACL VALUES (4,3,‘User’,‘ShowTicketHistory’,‘Ticket’,0);
INSERT INTO ACL VALUES (6,3,‘User’,‘CreateTicket’,‘Queue’,1);
INSERT INTO ACL VALUES (7,3,‘User’,‘ModifyTicket’,‘Ticket’,1);
INSERT INTO ACL VALUES (8,1,‘User’,‘Superuser’,‘System’,0);
INSERT INTO ACL VALUES (9,0,‘Everyone’,‘Superuser’,‘System’,0);
To generate a diff of this commit:
cvs rdiff -u -r184.108.40.206 -r220.127.116.11 rt/Makefile
cvs rdiff -u -r18.104.22.168 -r22.214.171.124 rt/NEWS
cvs rdiff -u -r126.96.36.199 -r188.8.131.52 rt/TODO
cvs rdiff -u -r184.108.40.206 -r220.127.116.11 rt/etc/config.pm
cvs rdiff -u -r18.104.22.168 -r22.214.171.124 rt/etc/schema.mysql
cvs rdiff -u -r126.96.36.199 -r188.8.131.52 rt/lib/RT/ACE.pm
cvs rdiff -u -r184.108.40.206 -r220.127.116.11 rt/lib/RT/ACL.pm
cvs rdiff -u -r18.104.22.168 -r22.214.171.124 rt/lib/RT/CurrentUser.pm
cvs rdiff -u -r126.96.36.199 -r188.8.131.52 rt/lib/RT/Date.pm
cvs rdiff -u -r184.108.40.206 -r220.127.116.11 rt/lib/RT/Queue.pm
cvs rdiff -u -r18.104.22.168 -r22.214.171.124 rt/lib/RT/Record.pm
cvs rdiff -u -r126.96.36.199 -r188.8.131.52 rt/lib/RT/Ticket.pm
cvs rdiff -u -r184.108.40.206 -r220.127.116.11 rt/lib/RT/Tickets.pm
cvs rdiff -u -r18.104.22.168 -r22.214.171.124 rt/lib/RT/User.pm
cvs rdiff -u -r126.96.36.199 -r188.8.131.52 rt/lib/RT/Interface/Email.pm
cvs rdiff -u -r184.108.40.206 -r220.127.116.11 rt/lib/rt/ui/cli/admin.pm
cvs rdiff -u -r18.104.22.168 -r22.214.171.124 rt/lib/rt/ui/cli/manipulate.pm
----- End forwarded message -----
jesse reed vincent — email@example.com — firstname.lastname@example.org
pgp keyprint: 50 41 9C 03 D0 BC BC C8 2C B9 77 26 6F E1 EB 91
As I sit here alone looking at green text on a laptop in a mostly bare room listening
to loud music wearing all black, I realize that that it is much less cool in real life