[rt-devel] quandry: secure parts of a ticket... should this be done with related tickets?

Colleen colleen at darksideproductions.net
Tue Dec 17 13:11:10 EST 2002


> -----Original Message-----
> From: Phil Homewood [mailto:pdh at snapgear.com]
> Sent: Monday, December 16, 2002 6:23 PM
> To: rt-devel at lists.fsck.com
> Subject: Re: [rt-devel] quandry: secure parts of a ticket... should
this
> be done with related tickets?
> 
> Colleen wrote:
> > I put in rights for all 10 users for the 4 ordinary queues and for
the
> > secure queue, I only put permissions in for those 3 users.  I logged
out
> > and logged back in as an average user (no secure permissions) and I
> > tried to 'Create a Ticket' in the secure queue.  I was allowed to do
> > this.
> 
> What do the following commands show?
> 
> rtadmin --queue secure_queue --list-rights
> rtadmin --system --list-rights

I have never used rtadmin and just now when I attempted to, I received
the following error:

[root at bizarro bin]# ./rtadmin
Can't locate RT/Interface/CLI.pm in @INC (@INC contains:
/usr/local/rt/etc /usr/local/rt/lib /usr/lib/perl5/5.6.1/i386-linux
/usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux
/usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at
./rtadmin line 14.
BEGIN failed--compilation aborted at ./rtadmin line 14.

It looks like rtadmin can't run by itself.

Here's the first 15 lines of rtadmin:

#!/usr/bin/perl -w
#
# $Header: /raid/cvsroot/rt/bin/rtadmin,v 1.4 2001/12/14 21:42:58 jesse
Exp $
# RT is (c) 1996-2001 Jesse Vincent <jesse at fsck.com>

use strict;
use Carp;
use Getopt::Long qw(:config pass_through);

use lib "/usr/local/rt/lib";
use lib "/usr/local/rt/etc";

use RT::Interface::CLI  qw(CleanEnv LoadConfig DBConnect
                           GetCurrentUser GetMessageContent);



Thanks again, for any help you can offer!

Colleen Noonan
 




More information about the Rt-devel mailing list