Web reply form show status dropdown for non-privileged users

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 universe” John Muir

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

Ski;

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

and remove

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

Regards;
Roy

Ski Kacoroski wrote:

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

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.

This is perfect. Just what I needed.

Thanks,

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

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

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 universe” John Muir

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