[rt-users] package name for Global symbol "$UserObj"

Ruslan Zakirov ruslan.zakirov at gmail.com
Wed Sep 14 14:44:52 EDT 2005


Move right from all users to Requestor queue role.

On 9/14/05, Weqaar Janjua <weqaar at yahoo.com> wrote:
> I have two queues and different users can create
> tickets in both the queues, by default the tickets are
> created with the ownership of the person who creates
> it. Now I don't want users who do not own the ticket
> to even see it, the problem is they have the
> 'showTicket' rights in the queue, how would I restrict
> non-ticket-creaters from seeing the ticket?
> Thanks.
> 
> --- "Harrison, William " <harrison at itrd.gov> wrote:
> 
> >
> > 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
> > _______________________________________________
> >
> 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
> >
> 
> 
> 
> 
> __________________________________
> 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
> 


-- 
Best regards, Ruslan.



More information about the rt-users mailing list