Re: [rt-users] Web reply form show status dropdown for non-privileged users

2010-04-15 Thread Ski Kacoroski

This is perfect.  Just what I needed.

Thanks,

ski

On 04/09/2010 09:20 AM, Jerrad Pierce wrote:

tr
   td class=label
   |/lStatus/
   /td
   td class=value
 /Elements/SelectStatus, Name=Status, DefaultLabel =
loc([_1] (Unchanged), loc($Ticket-Status)), Default =  $ARGS{'Status'} ||
($Ticket-Status
eq $DefaultStatus ? undef : $DefaultStatus)
   /td
   /tr


Probably better to change

  /Elements/SelectStatus, Name=Status, DefaultLabel =
  loc([_1] (Unchanged), loc($Ticket-Status)), Default =  $ARGS{'Status'} ||
  ($Ticket-Status eq $DefaultStatus ? undef : $DefaultStatus)

To

%perl  print $Ticket-Status/%perl



--
When we try to pick out anything by itself, we find it
 connected to the entire universeJohn Muir

Chris Ski Kacoroski, ckacoro...@nsd.org, 206-501-9803
or ski98033 on most IM services

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Web reply form show status dropdown for non-privileged users

2010-04-09 Thread Raed El-Hames

Ski;

You best option is to edit
html/SelfService/Update.html

and remove
tr
   td class=label
   |/lStatus/
   /td
   td class=value
/Elements/SelectStatus, Name=Status, DefaultLabel = 
loc([_1] (Unchanged), loc($Ticket-Status)), Default = 
$ARGS{'Status'} || ($Ticket-Status

eq $DefaultStatus ? undef : $DefaultStatus)
   /td
   /tr


Regards;
Roy



Ski Kacoroski wrote:

Hi,

When my non-privileged users use the web to add content to a ticket they 
see a drop down box to change the ticket status.  If they choose this 
they get a permission error when saving the ticket (good because they 
should not be able to change the status).  What can I do to stop this 
box from showing up.  The rights are:


For their queue: CreateTicket, SeeQueue, ShowTicket

Globally:
Everyone: ModifySelf, ReplyToTicket
Requestor: ShowTicket

cheers,

ski

  


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Web reply form show status dropdown for non-privileged users

2010-04-09 Thread Jerrad Pierce
 tr
       td class=label
           |/lStatus/
       /td
       td class=value
            /Elements/SelectStatus, Name=Status, DefaultLabel =
 loc([_1] (Unchanged), loc($Ticket-Status)), Default = $ARGS{'Status'} ||
 ($Ticket-Status
 eq $DefaultStatus ? undef : $DefaultStatus)
       /td
   /tr

Probably better to change

/Elements/SelectStatus, Name=Status, DefaultLabel =
 loc([_1] (Unchanged), loc($Ticket-Status)), Default = $ARGS{'Status'} ||
 ($Ticket-Status eq $DefaultStatus ? undef : $DefaultStatus)

To

   %perl print $Ticket-Status/%perl

-- 
Cambridge Energy Alliance: Save money. Save the planet.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


[rt-users] Web reply form show status dropdown for non-privileged users

2010-04-08 Thread Ski Kacoroski

Hi,

When my non-privileged users use the web to add content to a ticket they 
see a drop down box to change the ticket status.  If they choose this 
they get a permission error when saving the ticket (good because they 
should not be able to change the status).  What can I do to stop this 
box from showing up.  The rights are:


For their queue: CreateTicket, SeeQueue, ShowTicket

Globally:
Everyone: ModifySelf, ReplyToTicket
Requestor: ShowTicket

cheers,

ski

--
When we try to pick out anything by itself, we find it
 connected to the entire universeJohn Muir

Chris Ski Kacoroski, ckacoro...@nsd.org, 206-501-9803
or ski98033 on most IM services

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com