[rt-users] package name for Global symbol "$UserObj"
Harrison, William
harrison at itrd.gov
Wed Sep 14 13:39:26 EDT 2005
Is the issue wanting to see the top 10 that the user has rights to see, or making sure the user cannot see tickets they don't have rights to see?
If its the later, modify the display template to not include the top ten. Quick fix.
-----Original Message-----
From: Weqaar Janjua [mailto:weqaar at yahoo.com]
Sent: Wednesday, September 14, 2005 1:33 PM
To: rt-users at lists.bestpractical.com
Subject: [rt-users] package name for Global symbol "$UserObj"
Hi - I'm trying to modify html/Ticket/Create.html such
that the Owner by default is the one creating the
ticket, i.e.:
<& /Elements/SelectOwner, Name => "Owner", QueueObj =>
$QueueObj, Default => $ARGS{Owner}||$RT::Nobody->Id,
DefaultValue => 0 &>
is replaced by:
<& /Elements/SelectOwner, Name => "Owner", QueueObj =>
$QueueObj, Default => $UserObj->Id, DefaultValue => 0
&>
This gives me an error saying $UserObj needs a package
name, any help? any other way to do that?
Thanks.
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Be sure to check out the RT Wiki at http://wiki.bestpractical.com
Buy your copy of our new book, RT Essentials, today!
Download a free sample chapter from http://rtbook.bestpractical.com
More information about the rt-users
mailing list