[rt-commit] CVS commit: rt
jesse at fsck.com
jesse at fsck.com
Wed Aug 2 00:20:07 EDT 2000
Module Name: rt
Committed By: jesse
Date: Wed Aug 2 04:20:06 UTC 2000
Modified Files:
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/Interface: Email.pm
rt/lib/rt/ui/cli: admin.pm manipulate.pm
Log Message:
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.
1. Enabled CLI admin tool
2. Added ACL listing functionality to the CLI admin tool.
3. Enhanced RT::Queue->Grant such that it works with the structure of RT2
ACLs
4. 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.)
5. 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
scripts. *sigh*
6. Did a whole bunch more work on the ACL checking in RT::User
7. Wrote up some preliminary docs on local hacks to RT
8. Added in a routine to allow local canonicalization of email addresses
9. 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)
10. rtadmin user -enable and rtadmin user -disable now work.
11. 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 -r1.90.2.81 -r1.90.2.82 rt/Makefile
cvs rdiff -u -r1.49.2.20 -r1.49.2.21 rt/NEWS
cvs rdiff -u -r1.10.2.4 -r1.10.2.5 rt/TODO
cvs rdiff -u -r1.11.2.38 -r1.11.2.39 rt/etc/config.pm
cvs rdiff -u -r1.1.2.104 -r1.1.2.105 rt/etc/schema.mysql
cvs rdiff -u -r1.1.2.9 -r1.1.2.10 rt/lib/RT/ACE.pm
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 rt/lib/RT/ACL.pm
cvs rdiff -u -r1.1.2.15 -r1.1.2.16 rt/lib/RT/CurrentUser.pm
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 rt/lib/RT/Date.pm
cvs rdiff -u -r1.1.2.20 -r1.1.2.21 rt/lib/RT/Queue.pm
cvs rdiff -u -r1.1.2.21 -r1.1.2.22 rt/lib/RT/Record.pm
cvs rdiff -u -r1.1.2.132 -r1.1.2.133 rt/lib/RT/Ticket.pm
cvs rdiff -u -r1.1.2.10 -r1.1.2.11 rt/lib/RT/Tickets.pm
cvs rdiff -u -r1.1.2.28 -r1.1.2.29 rt/lib/RT/User.pm
cvs rdiff -u -r1.1.2.29 -r1.1.2.30 rt/lib/RT/Interface/Email.pm
cvs rdiff -u -r1.9.2.18 -r1.9.2.19 rt/lib/rt/ui/cli/admin.pm
cvs rdiff -u -r1.6.2.60 -r1.6.2.61 rt/lib/rt/ui/cli/manipulate.pm
More information about the Rt-commit
mailing list