[rt-users] Permissions

Eric Goodman ericg at cats.ucsc.edu
Thu May 11 19:32:51 EDT 2000


>I'm trying to create a new ticket via email and keep getting this error.  I
>get the same message on both queues.
>
>There has been an error:
>There has been an error with your request:
>You don't have permission to create requests in this queue


You can only create requests via a "correspond" queue. If this is an 
action queue that is being mailed to, that might be the problem.

In /etc/aliases:

   myqueue: "| /usr/local/rt/bin/rt-mailgate myqueue <type>"

<type> must be "correspond" (not "action" or "comment") for creation 
to work, even if it's turned on in the queue. At least this is how it 
appears to me.

The ticket creation code is in 
/usr/local/rt/lib/rt/ui/mail/manipulate.pm in the first subroutine in 
this block:

   elsif ($in_action eq 'correspond') {
     if (!$serial_num) {

       # ....


I copied that code to the corresponding 'elsif' for "comment" queues 
(removing the "no corresponding ticket" error code). I imagine the 
same could be done for an action queue.


--- Eric

-- 
Eric Goodman                  | "The opinions expressed by Eric do not
Workstation Support Group     |  represent the opinions of anyone who
UC Santa Cruz                 |  matters."
ericg at cats.ucsc.edu           |   --- (modified from) "Cartoon Planet"





More information about the rt-users mailing list